/* Enhanced Dashboard Designs for The Village */

/* ===== PRODUCTION STYLES ===== */
.main-feed {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== ENHANCED COMMENT SYSTEM ===== */
.comment-section {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comment-composer {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.composer-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.user-avatar, .comment-avatar, .reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.composer-input-container {
    flex: 1;
}

.comment-input {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.composer-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: space-between;
}

.tool-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.tool-btn:hover {
    background: rgba(102, 126, 234, 0.1);
}

.char-counter {
    font-size: 0.8rem;
    color: #6c757d;
}

.composer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

/* Comment Items */
.comment-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.comment-meta {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.comment-time {
    font-size: 0.85rem;
    color: #6c757d;
}

.edited-badge {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
    margin-left: 0.5rem;
}

.comment-actions {
    display: flex;
    gap: 0.25rem;
}

.action-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.action-btn:hover {
    opacity: 1;
    background: rgba(0,0,0,0.05);
}

.comment-body {
    margin-left: 3rem;
    margin-bottom: 1rem;
}

.comment-text {
    margin: 0;
    line-height: 1.6;
    color: #2c3e50;
}

.mention {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.hashtag {
    color: #17a2b8;
    font-weight: 600;
}

.comment-media-image {
    max-width: 300px;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.comment-media-image:hover {
    transform: scale(1.02);
}

.comment-reactions {
    margin-left: 3rem;
}

.reaction-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.reaction-btn {
    background: none;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.reaction-btn:hover {
    background: #f8f9fa;
    border-color: #d6d9dc;
}

.reaction-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.reply-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.reply-btn:hover {
    background: #f8f9fa;
    color: var(--primary);
}

/* Reply System */
.reply-input-container {
    margin-left: 3rem;
    margin-top: 1rem;
}

.reply-composer {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.reply-composer textarea {
    width: 100%;
    border: 1px solid #d6d9dc;
    border-radius: 6px;
    padding: 0.75rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

.reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.replies-container {
    margin-left: 3rem;
    margin-top: 1rem;
    border-left: 2px solid #f0f0f0;
    padding-left: 1rem;
}

.reply-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.reply-content {
    flex: 1;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.reply-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.reply-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.reply-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.reply-reactions {
    margin-top: 0.5rem;
}

/* Emoji Picker */
.emoji-picker {
    background: white;
    border: 1px solid #d6d9dc;
    border-radius: 8px;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

.emoji-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.2s ease;
}

.emoji-btn:hover {
    background: #f8f9fa;
}

/* ===== ENHANCED DASHBOARD DESIGNS ===== */
.dashboard-design-selector {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.design-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.design-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.design-option.active {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

.design-preview {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

/* Modern Grid Design */
.design-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    height: 100%;
}

.design-modern-grid > div {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

/* Card Layout Design */
.design-card-layout {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
}

.design-card-layout > div {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    border-radius: 6px;
    height: 20px;
}

.design-card-layout > div:first-child {
    height: 60px;
}

/* Masonry Design */
.design-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    height: 100%;
}

.design-masonry > div:nth-child(1) {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 4px;
    grid-row: span 2;
}

.design-masonry > div:nth-child(2) {
    background: linear-gradient(45deg, #43e97b, #38f9d7);
    border-radius: 4px;
}

.design-masonry > div:nth-child(3) {
    background: linear-gradient(45deg, #fa709a, #fee140);
    border-radius: 4px;
}

/* Timeline Design */
.design-timeline {
    position: relative;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 6px;
}

.design-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: white;
    transform: translateX(-50%);
}

.design-timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
}

/* Magazine Design */
.design-magazine {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 100%;
}

.design-magazine > div:nth-child(1) {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
    grid-row: span 2;
}

.design-magazine > div:nth-child(2) {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    border-radius: 4px;
}

.design-magazine > div:nth-child(3) {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 4px;
}

/* Dashboard Layout Variations */
.dashboard-layout-compact {
    --card-padding: 1rem;
    --card-gap: 1rem;
    --font-size-base: 0.9rem;
}

.dashboard-layout-spacious {
    --card-padding: 2rem;
    --card-gap: 2rem;
    --font-size-base: 1.1rem;
}

.dashboard-layout-cozy {
    --card-padding: 1.5rem;
    --card-gap: 1.5rem;
    --font-size-base: 1rem;
}

/* Feed Layout Enhancements */
.feed-layout {
    display: grid;
    gap: var(--card-gap, 1.5rem);
}

.feed-layout.layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.feed-layout.layout-masonry {
    columns: 3;
    column-gap: var(--card-gap, 1.5rem);
}

.feed-layout.layout-timeline {
    max-width: 600px;
    margin: 0 auto;
}

.feed-layout.layout-magazine {
    grid-template-columns: 2fr 1fr;
}

/* Post Card Enhancements */
.post-card {
    background: white;
    border-radius: 12px;
    padding: var(--card-padding, 1.5rem);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.post-card.featured {
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .main-feed {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .feed-sidebar {
        order: -1;
    }
    
    .design-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comment-body,
    .comment-reactions,
    .reply-input-container {
        margin-left: 0;
    }
    
    .replies-container {
        margin-left: 1rem;
    }
}

/* Loading States */
.loading-comments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: #6c757d;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Feed Filters */
.feed-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.filter-tab {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Market Categories */
.market-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.category-chip {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== RATING SYSTEM STYLES ===== */

/* Rating Summary */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.rating-stars {
    display: flex;
    gap: 0.1rem;
}

.rating-star {
    color: #ffd700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star.interactive:hover {
    transform: scale(1.1);
}

.rating-star.empty {
    color: #ddd;
}

.rating-star.half {
    background: linear-gradient(90deg, #ffd700 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-star.active {
    color: #ffd700;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.rating-score {
    font-weight: 600;
    color: #2c3e50;
}

.rating-count {
    color: #6c757d;
}

.verified-badge {
    background: #28a745;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.rating-error {
    color: #dc3545;
    font-size: 0.85rem;
}

/* Rating Modal */
.rating-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.rating-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.rating-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.rating-modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.rating-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-modal-close:hover {
    color: #dc3545;
}

.rating-modal-body {
    padding: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.user-info .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
}

.user-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.verified-transaction {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.rating-input {
    margin-bottom: 1.5rem;
}

.rating-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.rating-stars-input {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-stars-input .rating-star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-stars-input .rating-star:hover,
.rating-stars-input .rating-star.active {
    color: #ffd700;
    transform: scale(1.1);
}

.rating-review {
    margin-bottom: 1.5rem;
}

.rating-review label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.rating-review textarea {
    width: 100%;
    min-height: 100px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.rating-review textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.rating-tags {
    margin-bottom: 1.5rem;
}

.rating-tags label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #2c3e50;
}

.tag-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.tag-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.tag-option:hover {
    background: #f8f9fa;
    border-color: var(--primary);
}

.tag-option input:checked + span {
    color: var(--primary);
    font-weight: 500;
}

.rating-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Ratings View Modal */
.ratings-view-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.ratings-view-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.ratings-summary-section {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.overall-rating {
    text-align: center;
}

.rating-score-large {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.rating-stars-large {
    margin: 0.5rem 0;
}

.rating-stars-large .rating-star {
    font-size: 1.5rem;
}

.category-ratings {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-rating {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 0.75rem;
    align-items: center;
}

.category-name {
    font-weight: 500;
    color: #2c3e50;
}

.rating-stars-small .rating-star {
    font-size: 0.9rem;
}

.rating-score-small {
    font-weight: 600;
    color: #2c3e50;
    min-width: 2rem;
}

.rating-count-small {
    color: #6c757d;
    font-size: 0.85rem;
}

.ratings-list {
    padding: 1.5rem;
}

.rating-item {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.rating-item.verified::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #28a745;
    border-radius: 0 2px 2px 0;
}

.rating-item:last-child {
    border-bottom: none;
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.rater-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rater-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.rater-name {
    font-weight: 600;
    color: #2c3e50;
    display: block;
}

.rating-category {
    font-size: 0.85rem;
    color: #6c757d;
    display: block;
}

.rating-score-date {
    text-align: right;
}

.rating-date {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.rating-review {
    margin: 1rem 0;
    color: #2c3e50;
    line-height: 1.5;
}

.rating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.rating-tags .tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Rate User Button */
.rate-user-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2c3e50;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.rate-user-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.view-ratings-btn {
    background: none;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-ratings-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Success Notification */
.rating-success-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Comments Section Improvements */
.post-comments-section {
    border-top: 1px solid #f0f0f0;
    margin-top: 1rem;
    padding-top: 1rem;
    background: #fafbfc;
    border-radius: 0 0 12px 12px;
}

.post-action.active {
    background: var(--primary);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rating-modal,
    .ratings-view-modal {
        width: 95%;
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .ratings-summary-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .category-rating {
        grid-template-columns: 1fr auto;
        gap: 0.5rem;
    }
    
    .rating-score-small,
    .rating-count-small {
        grid-column: 2;
    }
    
    .tag-options {
        grid-template-columns: 1fr;
    }
}
