
/* Product Info */
.product-info {
    flex: 1;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Score Circle */
.score-circle1{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.score-circle_orig {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;

    font-size: 22px;
    font-weight: 700;
    color: #fff;

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.25),
        0 0 0 0 rgba(79, 172, 254, 0.6);

    position: relative;
    animation: scorePulse 2.4s infinite;
}

/* dış halka */
.score-circle::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(79, 172, 254, 0.5);
    animation: ringPulse 2.4s infinite;
}

@keyframes scorePulse {
    0% {
        box-shadow:
            0 6px 16px rgba(0, 0, 0, 0.25),
            0 0 0 0 rgba(79, 172, 254, 0.6);
    }
    70% {
        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.3),
            0 0 0 12px rgba(79, 172, 254, 0);
    }
    100% {
        box-shadow:
            0 6px 16px rgba(0, 0, 0, 0.25),
            0 0 0 0 rgba(79, 172, 254, 0);
    }
}

@keyframes ringPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
    }
}




.score-number {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);

}

.score-label,
.score-count,
.product-category,
.product-meta,
.meta-item {
    display: none;
}



/* Section Styling */
.section-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #1967d2;
}

/* ============================================
   RATING & BRAND GRID - Second Row
   ============================================ */

.rating-brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.rating-column,
.brand-column {
    min-width: 0;
}

/* Rating Stats - 4 Glass Boxes */
.rating-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.rating-stats .stat-item {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 12px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);

}

.rating-stats .stat-item:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.rating-stats .stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 14px;
}

.rating-stats .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    min-height: 36px;
    line-height: 36px;
    margin: 0;
    padding: 0;
}

.rating-stats .stat-value-user {
    color: #8ab4f8;
    text-shadow: 0 0 20px rgba(138, 180, 248, 0.5);
}

/* Full Width Stars */
.star-rating-full-width {
    width: 100%;
    padding: 0;
    margin: 0;
}

.star-rating-full-width .star-rating {

    gap: 10;
    width: 100%;
    padding: 0;
    margin: 0;
}

.star-rating-full-width .star {
    font-size: 36px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    user-select: none;
    padding: 8px 0;
}

.star-rating-full-width .star:hover {
    transform: scale(1.15);
}

.star-rating-full-width .star.selected,
.star-rating-full-width .star.active {
    color: #ffc107;
}

.star-rating-full-width .star.hover {
    color: #ffdb4d;
}

.rating-label {
    display: none !important;
}

/* Brand Card */
.brand-card-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    min-height: 220px;
    display: flex;
    align-items: center;
    position: relative;
}

.brand-card-content {
    width: 100%;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.brand-header-new {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.brand-info-new {
    text-align: left;
}

.brand-name-new {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.brand-link-new {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.brand-link-new:hover {
    color: white;
    gap: 10px;
}

.brand-stats-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.brand-stat-new {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-icon-new {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-new i {
    font-size: 16px;
    color: white;
}

.stat-content-new {
    flex: 1;
    min-width: 0;
}

.stat-value-new {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.stat-label-new {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


tr.current-product-row .product-name-cell a {
    color: #1967d2 !important;
}

/* Current badge */
.current-badge {
    display: inline-block;
    vertical-align: middle;
}

/* Show icon before current product */
tr.current-product-row td:first-child::before {
    content: '▶';
    color: #1967d2;
    font-weight: bold;
    margin-right: 8px;
    font-size: 14px;
}

/* Current badge */
.current-badge {
    display: inline-block;
    vertical-align: middle;
}

/* Show icon before current product */
tr.current-product-row td:first-child::before {
    content: '▶';
    color: #1967d2;
    font-weight: bold;
    margin-right: 8px;
    font-size: 14px;
}

/* Current badge */
.current-badge {
    display: inline-block;
    vertical-align: middle;
}

/* Alternative: Show icon before current product */
tr.current-product-row td:first-child::before {
    content: '▶';
    color: #1967d2;
    font-weight: bold;
    margin-right: 8px;
    font-size: 14px;
}


/* Brand Column */
.brand-column {
    padding-left: 32px;
}

.brand-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.brand-info {
    flex: 1;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    margin: 0 0 4px 0;
}

.brand-link {
    font-size: 13px;
    color: #1967d2;
    text-decoration: none;
    font-weight: 500;
}

.brand-link:hover {
    text-decoration: underline;
}

.brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.brand-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.brand-stat i {
    font-size: 20px;
    color: #1967d2;
}

.brand-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    line-height: 1;
}

.brand-stat-label {
    font-size: 11px;
    color: #5f6368;
    margin-top: 2px;
}

/* Product List - Same style as home page search */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Products Table - Same as category/view */
.products-table-container {
    background: #fff;
    overflow: hidden;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
}

.products-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.products-table tbody tr:hover {
    background-color: #f8f9fa;
}

.products-table tbody tr:last-child {
    border-bottom: none;
}

.products-table td {
    padding: 16px;
    vertical-align: middle;
}

/* Desktop: Normal table */
@media (min-width: 769px) {
    .products-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .products-table th,
    .products-table td {
        padding: 16px 12px;
        border-bottom: 1px solid #e8eaed;
    }
    
    .products-table th:nth-child(1) { width: 40%; }
    .products-table th:nth-child(2) { width: 25%; }
    .products-table th:nth-child(3) { width: 15%; }
    .products-table th:nth-child(4) { width: 20%; }
}

/* Mobile: Card layout */
@media (max-width: 768px) {
    .products-table thead {
        display: none;
    }
    
    .products-table,
    .products-table tbody,
    .products-table tr {
        display: block;
        width: 100%;
    }
    
    .products-table tr {
        margin-bottom: 16px;
        border: 1px solid #e8eaed;
        border-radius: 8px;
        padding: 12px;
        background: white;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .products-table td {
        display: block;
        width: 100%;
        padding: 8px 0;
        border: none;
        text-align: left !important;
    }
    
    /* Product name on top */
    .products-table td.product-name-cell {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        border-bottom: 1px solid #e8eaed;
        padding-bottom: 12px;
    }
    
    /* Add labels before each column */
    .products-table td:not(.product-name-cell)::before {
        content: attr(data-label);
        font-weight: 600;
        color: #5f6368;
        font-size: 12px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 6px;
    }
    
    /* Your Rating section */
    .products-table td.rating-cell:nth-child(2)::before {
        content: "Your Rating";
    }
    
    /* Review count section */
    .products-table td.review-count-cell::before {
        content: "Reviews";
    }
    
    /* Score section */
    .products-table td.rating-cell:nth-child(4)::before {
        content: "Average Score";
    }
    
    /* Adjust star rating for mobile */
    .products-table .star-rating {
        justify-content: flex-start;
    }
    
    /* Adjust score circle for mobile */
    .products-table .rating-star-display {
        justify-content: flex-start;
    }
    
    /* Review count display */
    .products-table .review-count-display {
        align-items: flex-start;
    }
    
    /* Current product highlighting on mobile */
    tr.current-product-row {
        border: 2px solid #1967d2;
        box-shadow: 0 2px 8px rgba(25, 103, 210, 0.15);
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-table th:nth-child(1) { width: 35%; }
    .products-table th:nth-child(2) { width: 25%; }
    .products-table th:nth-child(3) { width: 18%; }
    .products-table th:nth-child(4) { width: 22%; }
}





.product-name-cell {
    font-weight: 600;
    color: #202124;
    font-size: 15px;
}

.product-category-cell {
    color: #5f6368;
    font-size: 14px;
}

.category-link {
    color: #5f6368;
    text-decoration: none;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    gap: 16px;
}

.product-item:hover {
    background: #e8eaed;
    transform: translateX(4px);
}

.product-item-score {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.product-item-info {
    flex: 1;
    min-width: 0;
}

.product-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}

.product-item-meta {
    font-size: 13px;
    color: #5f6368;
}

.product-item-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5f6368;
}

.product-item-rating i {
    color: #f9ab00;
}

.product-link {
    color: #1967d2;
    text-decoration: none;
    font-weight: 500;
}

.product-link:hover {
    text-decoration: underline;
}



.product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px 32px;
    border-radius: 12px;
    margin-bottom: 32px;
    min-height: 250px;
    box-shadow: 0 4px 12px rgba(88,88,88,0.9);

}

.product-column {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-right: 40px;
    border-right: 2px solid rgba(255,255,255,0.2);
}

.product-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    margin-top: 12px;
}

.product-rank-badge i {
    color: #ffd700;
    font-size: 18px;
}

.product-rank {
    color: #ffd700;
    font-size: 16px;
}



.product-rating-display {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}


.category-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;

}

.category-header-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.category-header-title i {
    font-size: 28px;
    color: #4fc3f7;
}

.category-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 12px;
}

.stat-icon {
    font-size: 24px;
    color: #4fc3f7;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 968px) {
    .product-header {
        grid-template-columns: 1fr;
    }
    
    .product-column {
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,0.2);
        padding-right: 0;
        padding-bottom: 32px;
    }
    
    .category-stats-grid {
        grid-template-columns: 1fr;
    }
}



/* Star Rating - Exact copy from category/view */
.star-rating-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.star-rating {
    display: flex;
    gap: 4px;
}

.star {
    cursor: pointer;
    font-size: 32px;
    color: #e0e0e0;
    transition: all 0.2s;
    user-select: none;
    text-shadow: 0 2px 4px rgba(88,88,88,0.4);

    
}

.star:hover,
.star.hover {
    color: #ffd700;
    transform: scale(1.1);
    
}

.star.selected {
    color: #f9ab00;
}

.star.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.rating-label {
    text-align: center;
    font-size: 11px;
    color: #5f6368;
    min-height: 16px;
    margin-top: 4px;
}

.rating-saved {
    color: #34a853;
    font-weight: 600;
}

.login-to-rate {
    color: #ea4335;
    font-size: 12px;
}

.login-to-rate a {
    color: #1967d2;
    text-decoration: none;
    font-weight: 600;
}

/* Reviews Section */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.review-card {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}


.review-username {
    font-weight: 600;
    font-size: 15px;
    color: #202124;
}

.review-date {
    font-size: 12px;
    color: #9aa0a6;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.review-rating-stars {
    color: #f9ab00;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.review-comment {
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}


.helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    color: #5f6368;
}

.helpful-btn:hover:not(:disabled) {
    border-color: #1967d2;
    color: #1967d2;
    background: #f8f9fa;
}

.helpful-btn.marked {
    border-color: #1967d2;
    background: #1967d2;
    color: white;
}

.helpful-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #9aa0a6;
}

.no-reviews i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* Related Products - Same as subcategories grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.related-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.related-card:hover {
    border-color: #1967d2;
    box-shadow: 0 4px 12px rgba(25,103,210,0.15);
    transform: translateY(-2px);
}

.related-product-name {
    font-weight: 600;
    font-size: 14px;
    color: #202124;
    margin-bottom: 8px;
}

.related-rating {
    font-size: 13px;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-rating-stars {
    color: #f9ab00;
}


/* ============================================
   UPDATED STYLES FOR FIXED REVIEW MODAL
   Add/Replace these in meta.css
   ============================================ */

/* Pros/Cons in Review Modal */
#pros-container,
#cons-container {
    min-height: 40px;
    max-height: 200px;
    overflow-y: auto;
}

.added-items-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.added-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    gap: 8px;
}

.added-item-pro {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.added-item-con {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.added-item .item-text {
    flex: 1;
}

.added-item .btn-remove {
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.added-item .btn-remove:hover {
    opacity: 1;
}

.input-group .form-control-sm {
    font-size: 13px;
}

.char-count {
    font-size: 12px;
    color: #5f6368;
    text-align: right;
    margin-top: 4px;
}

/* Pros/Cons Display in Reviews (unchanged) */
.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 12px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.pros-section,
.cons-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pros-section h4,
.cons-section h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pros-section h4 {
    color: #198754;
}

.cons-section h4 {
    color: #dc3545;
}

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

.pros-section li,
.cons-section li {
    font-size: 13px;
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
    color: #202124;
}

.pros-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: 700;
}

.cons-section li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: 700;
}

@media (max-width: 768px) {
    .review-pros-cons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ============================================
   ANNOTATION INPUT STYLES
   Add these to meta.css
   ============================================ */

/* Annotation display section */
.review-annotations {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.annotations-header {
    font-size: 13px;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.annotation-item {
    background: #f8f9fa;
    border-left: 3px solid #1967d2;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 13px;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.annotation-author {
    font-weight: 600;
    color: #202124;
}

.annotation-date {
    font-size: 11px;
    color: #9aa0a6;
    margin-left: auto;
}

/* Annotation input container */
.annotation-input-container {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.annotation-input-container .input-group {
    margin-bottom: 4px;
}

.annotation-input-container small {
    display: block;
    font-size: 11px;
    margin-top: 4px;
}

.annotation-input {
    font-size: 13px;
}

/* Existing styles for pros/cons and votes remain the same */

.annotation-author {
    font-weight: 600;
    color: #202124;
    margin-right: 8px;
}

/* Vote Buttons (unchanged) */
.review-votes {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    color: #5f6368;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.vote-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #1967d2;
    transform: translateY(-1px);
}

.vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vote-btn.active {
    font-weight: 600;
}

.vote-btn.helpful.active {
    background: #d4edda;
    border-color: #198754;
    color: #198754;
}

.vote-btn.not-helpful.active {
    background: #f8d7da;
    border-color: #dc3545;
    color: #dc3545;
}

.vote-btn i {
    font-size: 14px;
}

/* Modal sizing */
.modal-lg {
    max-width: 800px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .score-circle1 {
        width: 120px;
        height: 120px;
    }
    
    .score-number1 {
        font-size: 44px;
    }
    
    .section-box1 {
        padding: 16px;
    }
    
    .rating-brand-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .rating-column {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 5px;
    }
    
    .brand-column {
        padding-left: 0;
    }
    
    .rating-stats {
        justify-content: space-around;
    }
    
    .brand-stats {
        grid-template-columns: 1fr;
    }

/* Modal stars styling */
.modal-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.modal-stars .star {
    font-size: 32px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.modal-stars .star:hover {
    transform: scale(1.1);
}

.modal-stars .star.active {
    color: #ffc107;
}

.modal-stars .rating-label {
    margin-left: 12px;
    font-size: 14px;
    color: #5f6368;
    min-width: 200px;
}

/* ============================================
   PROBLEM: Stars have "active" class but not yellow
   SOLUTION: CSS selector is wrong or not specific enough
   ============================================ */

/* ADD OR UPDATE THIS CSS IN meta.css */

/* Modal stars - make sure selector matches */
.modal-stars .star {
    font-size: 32px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.modal-stars .star:hover {
    transform: scale(1.1);
}

/* ⚠️ THIS IS THE IMPORTANT ONE - make sure it's specific enough */
.modal-stars .star.active {
    color: #ffc107 !important;  /* Force yellow color */
}

/* If the above doesn't work, try even more specific: */
.star-rating-container.modal-stars .star.active {
    color: #ffc107 !important;
}

/* Nuclear option if still not working: */
div.modal-stars span.star.active {
    color: #ffc107 !important;
}

/* ============================================
   DEBUG: Add this temporarily to see what's wrong
   ============================================ */

/* Make ALL stars red to test if CSS is loading */
.modal-stars .star {
    color: red !important;  /* If you see red, CSS is working */
}

/* Make active stars green to test if .active selector works */
.modal-stars .star.active {
    color: green !important;  /* If you see green, .active works */
}

/* If stars turn green, change green to #ffc107 (yellow) */

}

/* ============================================
   BRAND CARD - Logo as Background
   Replace/Update in meta.css
   ============================================ */

/* Brand card wrapper - logo covers entire background */
.brand-card-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    min-height: 220px;
    display: flex;
    align-items: center;
    position: relative;
}

.brand-card-content {
    width: 100%;
    padding: 24px;
    position: relative;
    z-index: 1;
}

/* Brand header */
.brand-header-new {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.brand-info-new {
    text-align: left;
}

.brand-name-new {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.brand-link-new {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.brand-link-new:hover {
    color: white;
    gap: 10px;
}

/* Brand stats */
.brand-stats-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.brand-stat-new {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-icon-new {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-new i {
    font-size: 16px;
    color: white;
}

.stat-content-new {
    flex: 1;
    min-width: 0;
}

.stat-value-new {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.stat-label-new {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-stats-new {
        grid-template-columns: 1fr;
    }
    
    .brand-card-wrapper {
        min-height: 260px;
    }
}

/* ============================================
   GLASS EFFECT STAT BOXES

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .rating-brand-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .brand-stats-new {
        grid-template-columns: 1fr;
    }
    
    .brand-card-wrapper {
        min-height: 260px;
    }
    
    .rating-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .star-rating-full-width .star {
        font-size: 28px;
    }
}

/* ============================================
   USER OWN REVIEW HIGHLIGHT
   ============================================ */

.user-own-review {
    border: 2px solid #1967d2;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
}

.own-review-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #1967d2;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.own-review-badge i {
    font-size: 13px;
}

/* Review loader */
.review-loader {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .own-review-badge {
        top: 8px;
        right: 8px;
        font-size: 10px;
        padding: 3px 8px;
    }
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

#reviews-accordion-body {
    display: none;
}

#reviews-accordion-body.show {
    display: block;
}

@media (max-width: 768px) {
    #reviews-accordion-body.show {
        max-height: none;
    }
}


@media (max-width: 768px) {
    .container-fluid h1 {
        font-size: 20px !important;
    }
}

@keyframes pulse-glow {
    0%, 100% { 
        text-shadow: 0 0 1px rgba(213, 201, 28, 0.3);
    }
    50% { 
        text-shadow: 0 0 8px rgba(251, 255, 30, 0.9);
    }
}
@media (max-width: 768px) {
    /* Stack cards vertically on mobile */
    div[style*="display: flex; gap: 20px"] > div {
        min-width: 100% !important;
        margin-bottom: 20px;
    }
    
    /* Make card layout vertical */
    div[style*="height: 130px"] {
        height: auto !important;
        flex-direction: column !important;
    }
    
    /* Image section full width on mobile */
    div[style*="width: 33.333%"] {
        width: 100% !important;
        min-height: 120px !important;
    }
    
    /* Boxes section full width */
    div[style*="width: 66.666%"] {
        width: 100% !important;
    }
    
    /* Stack boxes horizontally still works on mobile */
    div[style*="display: flex; gap: 10px"] {
        flex-direction: row !important;
    }
}
.review-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
}
.review-card.own-review { border-color: #1967d2; }
.review-card-header { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.review-card-avatar { flex: 0 0 40px; width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.review-card-initial { display: grid; place-items: center; color: #fff; background: #565ec3; font-weight: 700; }
.review-card-text { overflow-wrap: anywhere; }
.review-card-footer { border-top: 1px solid #e9ecef; padding-top: .75rem; }

body.product-page > .user-icon-wrapper {
    position: absolute;
}

.product-overview {
    padding: clamp(.85rem, 3vw, 1.4rem);
    margin-bottom: 1rem;
    border: 1px solid #dce5e3;
    border-radius: 1rem;
    background: #f5f9f7;
}

.product-overview-heading {
    display: flex;
    align-items: center;
    gap: clamp(.65rem, 2.5vw, 1rem);
}

.product-overview-image {
    width: clamp(3.25rem, 12vw, 6rem);
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .5rem;
}

.product-overview h1 {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #18253d;
    font-size: clamp(1.18rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.product-overview h1 a { color: inherit; text-decoration-color: #7ba394; }
.product-score { flex: 0 0 auto; text-align: right; }
.product-score-value { color: #006548; white-space: nowrap; }
.product-score-value[data-product-score="0"] { color: #526170; }
.product-score-value .score-number {
    color: inherit;
    font-size: clamp(1.35rem, 4.8vw, 2.25rem);
    text-shadow: none;
}
.product-score-scale, #productVoteCount { color: #53616b; font-size: .8rem; }

.product-overview .star-rating-full-width {
    margin-top: .75rem;
    padding-top: .5rem;
    border-top: 1px solid #dce5e3;
}
.product-overview .product-rating-status {
    display: block !important;
    width: max-content;
    margin: 0 0 .15rem;
    color: #44515e;
    font-size: .8rem;
    font-weight: 600;
}
.product-overview .star-rating {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0;
    width: min(100%, 23rem);
}
.product-overview .star {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 2.15rem;
    padding: 0;
    border: 0;
    border-radius: .25rem;
    background: transparent;
    color: #697782;
    font-size: clamp(1rem, 5.5vw, 1.55rem);
    text-shadow: none;
}
.product-overview .star:is(.active, .selected, .hover, :hover) { color: #9b5c08; }
.product-overview .star:focus-visible { outline: 2px solid #08735a; outline-offset: -2px; }
.product-rank-note { margin: .5rem 0 0; color: #4c5963; font-size: .85rem; }

.product-reviews.section-box {
    padding: clamp(.85rem, 2.5vw, 1.25rem);
    margin-bottom: 1rem;
    border: 1px solid #e1e7e5;
    box-shadow: none;
}
.product-reviews-header, .product-reviews-label {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.product-reviews-header { justify-content: space-between; }
.product-reviews-header .btn { white-space: nowrap; }
.product-reviews-label h2 { margin: 0; font-size: 1.18rem; font-weight: 700; }
#review-count-badge { padding: .1rem .45rem; border-radius: .4rem; background: #edf4f1; color: #306455; font-size: .86rem; }
.product-reviews-body { margin-top: .8rem; }
.product-review-empty { margin: 0; color: #53616b; }

.product-context {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}
.product-context-card {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem;
    border: 1px solid #e1e7e5;
    border-radius: .7rem;
    color: #18253d;
    background: #fff;
    text-decoration: none;
}
.product-context-card:hover { border-color: #81a79b; }
.product-context-card img { flex: 0 0 auto; width: 3.15rem; height: 3.15rem; object-fit: cover; border-radius: .4rem; }
.product-context-details { display: grid; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.product-context-details small { color: #53616b; }

@media (max-width: 575px) {
    .product-breadcrumb .custom-bread-item { padding: .55rem 1.45rem .55rem 1.7rem; font-size: .82rem; }
}
