/* ==========================================================================
   Review Template Styles — NexusTheme
   ========================================================================== */

/* Review Box */
.nx-review-box {
    background: var(--nx-bg-card);
    border: 2px solid var(--nx-primary);
    border-radius: var(--nx-radius-md);
    overflow: hidden;
    margin: var(--nx-space-xl) 0;
    box-shadow: var(--nx-shadow-md);
}

.nx-review-box__header {
    background: var(--nx-primary-light);
    padding: var(--nx-space-lg);
    text-align: center;
}

.nx-review-box__stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: var(--nx-fs-xl);
}

.nx-star--full { color: #f59e0b; }
.nx-star--half { color: #f59e0b; opacity: 0.6; }
.nx-star--empty { color: #d1d5db; }

.nx-review-box__rating {
    font-size: var(--nx-fs-md);
    font-weight: var(--nx-fw-bold);
    color: var(--nx-text);
    margin-left: var(--nx-space-sm);
}

.nx-review-box__details {
    padding: var(--nx-space-lg);
}

.nx-review-box__row {
    display: flex;
    justify-content: space-between;
    padding: var(--nx-space-sm) 0;
    border-bottom: 1px solid var(--nx-border-light);
    font-size: var(--nx-fs-sm);
}

.nx-review-box__row:last-child { border-bottom: none; }

.nx-review-box__label {
    font-weight: var(--nx-fw-semibold);
    color: var(--nx-text-secondary);
}

.nx-review-box__value {
    font-weight: var(--nx-fw-medium);
    color: var(--nx-text);
}

.nx-review-box__cta {
    padding: 0 var(--nx-space-lg) var(--nx-space-lg);
    text-align: center;
}

.nx-btn--cta {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: var(--nx-fs-md);
    font-weight: var(--nx-fw-bold);
    text-align: center;
    border-radius: var(--nx-radius);
    animation: pulse 2s infinite;
    text-decoration: none;
}

.nx-btn--cta:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: var(--nx-shadow-lg);
    text-decoration: none;
    color: var(--nx-text-inverse);
}

/* Pros & Cons */
.nx-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-lg);
    margin: var(--nx-space-xl) 0;
}

@media (max-width: 600px) {
    .nx-pros-cons { grid-template-columns: 1fr; }
}

.nx-pros-cons__col {
    border-radius: var(--nx-radius);
    padding: var(--nx-space-lg);
}

.nx-pros-cons__col--pros {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.nx-pros-cons__col--cons {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.nx-pros-cons__title {
    font-size: var(--nx-fs-md);
    font-weight: var(--nx-fw-bold);
    margin-bottom: var(--nx-space-md);
}

.nx-pros-cons ul {
    list-style: none;
    padding: 0;
}

.nx-pros-cons ul li {
    padding: var(--nx-space-xs) 0;
    font-size: var(--nx-fs-sm);
    padding-left: var(--nx-space-lg);
    position: relative;
}

.nx-pros-cons__col--pros ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--nx-success);
    font-weight: bold;
}

.nx-pros-cons__col--cons ul li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--nx-error);
    font-weight: bold;
}

/* Tags */
.nx-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--nx-space-sm);
    margin: var(--nx-space-xl) 0;
}

.nx-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--nx-bg-code);
    color: var(--nx-text-secondary);
    border-radius: var(--nx-radius-full);
    font-size: var(--nx-fs-xs);
    text-decoration: none;
    transition: all var(--nx-transition);
}

.nx-tag:hover {
    background: var(--nx-primary-light);
    color: var(--nx-primary);
    text-decoration: none;
}

/* Comparison Table */
.nx-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--nx-space-xl) 0;
    border-radius: var(--nx-radius);
    overflow: hidden;
    box-shadow: var(--nx-shadow-card);
}

.nx-comparison-table th {
    background: var(--nx-secondary);
    color: var(--nx-text-inverse);
    font-weight: var(--nx-fw-semibold);
    padding: var(--nx-space-md);
    text-align: center;
}

.nx-comparison-table td {
    padding: var(--nx-space-md);
    text-align: center;
    background: var(--nx-bg-card);
}

.nx-comparison-table tr:nth-child(even) td {
    background: var(--nx-bg-code);
}

.nx-comparison-table .nx-best-pick {
    background: var(--nx-primary-light) !important;
    border-left: 3px solid var(--nx-primary);
}

/* Archive header */
.nx-archive-header {
    margin-bottom: var(--nx-space-2xl);
}

.nx-archive-title {
    font-size: var(--nx-fs-2xl);
    margin-bottom: var(--nx-space-sm);
}

.nx-archive-desc {
    color: var(--nx-text-secondary);
    font-size: var(--nx-fs-md);
}

/* Single featured image */
.nx-single-featured {
    margin: var(--nx-space-xl) 0;
    border-radius: var(--nx-radius-md);
    overflow: hidden;
}

.nx-single-featured img {
    width: 100%;
    height: auto;
    border-radius: var(--nx-radius-md);
}

.nx-single-cats {
    display: flex;
    gap: var(--nx-space-sm);
    margin-bottom: var(--nx-space-sm);
}

/* Mobile menu */
.nx-mobile-menu {
    position: fixed;
    top: var(--nx-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nx-bg-card);
    z-index: var(--nx-z-overlay);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: var(--nx-space-xl);
}

.nx-mobile-menu.active {
    transform: translateX(0);
}

.nx-mobile-nav-list {
    list-style: none;
    padding: 0;
}

.nx-mobile-nav-list li {
    border-bottom: 1px solid var(--nx-border-light);
}

.nx-mobile-nav-list a {
    display: block;
    padding: var(--nx-space-md) 0;
    color: var(--nx-text);
    font-size: var(--nx-fs-md);
    font-weight: var(--nx-fw-medium);
    text-decoration: none;
}

.nx-mobile-nav-list a:hover {
    color: var(--nx-primary);
}

/* Ad zones */
.nx-ad-zone {
    margin: var(--nx-space-lg) 0;
    text-align: center;
}
