/* استایل‌های صفحه جزئیات محصول - نسخه 3 ستونه مینیمال */

/* رفع کامل مشکل اسکرول */
html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
}

body {
    overflow: auto !important;
    height: auto !important;
    position: relative;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-black);
}

/* رفع مشکل هدر */
.header {
    background-color: var(--color-black) !important;
    backdrop-filter: none !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

/* کانتینر اصلی */
.product-detail-container {
    padding-top: 80px;
    background-color: var(--color-white);
    min-height: 100vh;
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-gray);
    direction: rtl;
}

    .breadcrumb a {
        color: var(--color-gray);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .breadcrumb a:hover {
            color: var(--color-black);
        }

    .breadcrumb .current {
        color: var(--color-black);
        font-weight: 500;
    }

/* ===== طرح 3 ستونه ===== */
.product-detail-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 350px 1fr 320px;
    gap: 2rem;
    direction: rtl;
    align-items: start;
}

/* ===== ستون چپ: گالری و اکشن‌ها ===== */
.product-gallery-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    background: var(--color-gray-light);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.main-image-container {
    padding: 1.5rem;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    .main-image-container img {
        max-width: 100%;
        max-height: 350px;
        object-fit: contain;
    }

/* دکمه‌های اکشن عمودی */
.gallery-actions {
    display: flex;
    
    gap: 0.75rem;
    margin-top: 1rem;
}

.action-btn {
    font-family:var(--primary-font);
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.875rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
}

    .action-btn:hover {
        border-color: var(--color-black);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .action-btn.active {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }

    .action-btn i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    background: var(--color-gray-light);
    transition: all 0.2s ease;
    overflow: hidden;
}

    .thumbnail.active {
        border-color: var(--color-black);
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnail:hover {
        border-color: var(--color-gray);
        transform: translateY(-1px);
    }

/* ===== ستون وسط: اطلاعات اصلی و ویژگی‌ها ===== */
.product-main-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    text-align: right;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-black);
    line-height: 1.3;
}

.product-category {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--color-gray);
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: right;
    margin-bottom: 1rem;
}

/* انتخاب ویژگی‌ها */
.attribute-selection {
    margin: 1rem 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 8px;
}

.attribute-group {
    margin-bottom: 1rem;
    text-align: right;
}

    .attribute-group:last-child {
        margin-bottom: 0;
    }

.attribute-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
    display: block;
}
.attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    justify-content: right;
    border-radius: 0px;
}

.attribute-option {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid #dee2e6;
   
    padding: 0.375rem 0.75rem;
    background: white;
    min-width: 50px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
}

    .attribute-option:hover {
        border-color: #007bff;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
    }

    .attribute-option.active {
        
        background: #ffc107;
        color: white;
    }

    .attribute-option.disabled {
        opacity: 0.4;
        cursor: not-allowed;
        background: #f8f9fa;
    }

        .attribute-option.disabled:hover {
            border-color: #dee2e6;
            transform: none;
            box-shadow: none;
        }

    /* استایل‌های مخصوص رنگ */
    .attribute-option.color {
        padding: 0.25rem;
        width: 36px;
        height: 36px;
        min-width: 36px;
        display: flex;
        align-items: c
    }

        .attribute-option.color .color-swatch {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 1.5px solid #dee2e6;
            transition: all 0.2s ease;
        }

        .attribute-option.color.active .color-swatch {
            border-color: #007bff;
            transform: scale(1.1);
        }

        .attribute-option.color .option-text {
            display: none;
        }
        .attribute-option.color.active::after {
            content: '✓';
            position: absolute;
            top: -2px;
            right: -2px;
            background: #007bff;
            color: white;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }
.variation-details {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

}

.selected-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius:0px;
}

.attribute-badge {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;

    font-size: 0.75rem;
    font-weight: 500;
}

.variation-pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

#variation-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
}

#variation-regular-price {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
}

#variation-discount {
    background: #28a745;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.variation-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

#variation-stock-status {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
}
#no-variation-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
    .attribute-option.size {
        min-width: 45px;
        font-weight: 600;
    }

    .attribute-option.material {
        text-transform: capitalize;
    }
/* ===== ستون راست: قیمت و خرید ===== */
.product-purchase-sidebar {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.price-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.current-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-black);
    display: block;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1.1rem;
    color: var(--color-gray);
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.5rem;
}

.discount-badge {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    display: inline-block;
}

/* انتخاب تعداد */
.quantity-section {
    margin-bottom: 1.5rem;
}

.quantity-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-black);
    font-size: 0.9rem;
}

.quantity-selector {
    border: 1px solid #ced4da;

    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.quantity-btn {
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .quantity-btn:hover {
        background: #e9ecef;
    }

.quantity-input {
    border: none;
    width: 60px;
    height: 44px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    flex: 1;
}

    .quantity-input:focus {
        outline: none;
    }

/* دکمه‌های اقدام */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.add-to-cart-btn {
    background-color: orangered;
    color: var(--color-white);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
    width: 100%;
    font-family:var(--primary-font);
}

    .add-to-cart-btn:hover {
        background-color: var(--color-accent);
        transform: translateY(-2px);
    }

.buy-now-btn {
    background-color: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
    width: 100%;
    font-family: var(--primary-font);
}

    .buy-now-btn:hover {
        background-color: var(--color-black);
        color: var(--color-white);
        transform: translateY(-2px);
    }

/* اطلاعات متا */
.product-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

    .meta-item:last-child {
        border-bottom: none;
    }

.meta-label {
    font-weight: 600;
    color: var(--color-black);
    font-size: 0.85rem;
}

.meta-value {
    color: var(--color-gray);
    font-size: 0.8rem;
}

    .meta-value.in-stock {
        color: #28a745;
        font-weight: 600;
    }

    .meta-value.out-of-stock {
        color: #dc3545;
        font-weight: 600;
    }

/* ===== بخش‌های پایینی (تمام عرض) ===== */
.product-bottom-sections {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

/* تب‌ها */
.product-tabs {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.tabs-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #6c757d;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
    font-weight: 500;
}

    .tab-btn.active {
        color: #007bff;
        border-bottom-color: #007bff;
        background: white;
    }

    .tab-btn:hover:not(.active) {
        color: #495057;
        background: rgba(255, 255, 255, 0.5);
    }

.tabs-content {
    padding: 1.5rem;
    background: white;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .tab-panel.active {
        display: block;
    }

/* مشخصات فنی */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.spec-label {
    font-weight: 600;
    color: var(--color-black);
}

.spec-value {
    color: var(--color-gray);
}

/* نظرات کاربران */
.reviews-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.average-rating {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-black);
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #ddd;
    font-size: 1.2rem;
}

    .star.filled {
        color: #ffc107;
    }

.rating-count {
    color: #6c757d;
    font-size: 0.875rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.star-label {
    width: 60px;
    font-size: 0.8rem;
    color: #6c757d;
}

.bar {
    flex: 1;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background-color: #ffc107;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.percentage {
    width: 30px;
    font-size: 0.8rem;
    color: #6c757d;
    text-align: left;
}

/* محصولات مرتبط */
.related-products {
    margin: 2rem 0;
}

.section-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: right;
    color: var(--color-black);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: right;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .related-product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .related-product-card .product-image {
        padding: 1rem;
        background: #fafafa;
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .related-product-card .product-image img {
            max-width: 100%;
            max-height: 120px;
            object-fit: contain;
        }

    .related-product-card .product-info {
        padding: 1rem;
        gap: 0.5rem;
    }

    .related-product-card .product-name {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: var(--color-black);
        line-height: 1.3;
    }

    .related-product-card .product-spec {
        font-size: 0.75rem;
        color: var(--color-gray);
        margin-bottom: 0.75rem;
    }

    .related-product-card .product-price {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--color-black);
        justify-content: right;
        margin-bottom: 0.5rem;
    }

    .related-product-card .product-link {
        color: #007bff;
        text-decoration: none;
        font-size: 0.8rem;
        display: block;
        margin-top: 0.5rem;
        font-weight: 500;
        transition: color 0.2s ease;
    }

        .related-product-card .product-link:hover {
            color: var(--color-accent);
        }

/* ===== کلاس‌های کمکی ===== */
.d-none {
    display: none !important;
}

.text-center {
    text-align: center !important;
}

.text-muted {
    color: #6c757d !important;
}

/* ===== انیمیشن‌ها ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== رسپانسیو ===== */
@media (max-width: 1200px) {
    .product-detail-content {
        grid-template-columns: 250px 1fr 350px;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-purchase-sidebar {
        position: static;
        order: 3;
    }

    .product-gallery-sidebar {
        order: 1;
    }

    .product-main-info {
        order: 2;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        padding-top: 70px;
    }

    .breadcrumb,
    .product-detail-content,
    .product-bottom-sections {
        padding: 0 1rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        flex: none;
        min-width: auto;
        border-bottom: none;
        border-right: 2px solid transparent;
        text-align: right;
    }

        .tab-btn.active {
            border-right-color: #007bff;
            border-bottom: none;
        }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .gallery-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    .attribute-selection {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }

    .attribute-options {
        gap: 0.25rem;
        justify-content: flex-start;
    }

    .attribute-option {
        flex: 0 0 calc(33.333% - 0.25rem);
        max-width: calc(33.333% - 0.25rem);
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

        .attribute-option.color {
            flex: 0 0 calc(20% - 0.25rem);
            max-width: calc(20% - 0.25rem);
            width: 32px;
            height: 32px;
        }

            .attribute-option.color .color-swatch {
                width: 20px;
                height: 20px;
            }

    .variation-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .product-detail-content {
        gap: 1.5rem;
    }

    .main-image-container {
        min-height: 300px;
    }

        .main-image-container img {
            max-height: 250px;
        }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .attribute-option {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }
}

/* فعال کردن اسکرول با غلطک موس */
* {
    overscroll-behavior: none;
}
/* Add these color classes to your CSS */
.color-swatch.black {
    background-color: #000000;
}

.color-swatch.white {
    background-color: #ffffff;
    border-color: #ccc;
}

.color-swatch.silver {
    background-color: #c0c0c0;
}

.color-swatch.gray {
    background-color: #808080;
}

.color-swatch.red {
    background-color: #ff0000;
}

.color-swatch.blue {
    background-color: #0000ff;
}

.color-swatch.green {
    background-color: #008000;
}

.color-swatch.yellow {
    background-color: #ffff00;
}

.color-swatch.orange {
    background-color: #ffa500;
}

.color-swatch.purple {
    background-color: #800080;
}

.color-swatch.pink {
    background-color: #ffc0cb;
}

.color-swatch.brown {
    background-color: #a52a2a;
}

.color-swatch.gold {
    background-color: #ffd700;
}

.color-swatch.navy {
    background-color: #000080;
}

.color-swatch.maroon {
    background-color: #800000;
}

.color-swatch.teal {
    background-color: #008080;
}

.color-swatch.cyan {
    background-color: #00ffff;
}

.color-swatch.beige {
    background-color: #f5f5dc;
}

/* Compact Reviews Styles */
.compact-rating-bars {
    margin-top: 1rem;
}

.compact-rating-bar {
    font-size: 0.8rem;
}

.compact-star-label {
    color: #666;
    text-align: left;
}

.compact-bar {
    background-color: #e9ecef;
}

.compact-fill {
    background-color: #ffc107;
}

.compact-count {
    text-align: left;
}

/* Compact Rating Input */
.compact-rating-input {
    display: flex;
    gap: 0.25rem;
    direction: ltr;
    justify-content: flex-end;
}

.compact-star-label-btn {
    font-size: 1.5rem;
    transition: color 0.2s;
}

    .compact-star-label-btn:hover {
        color: #ffc107 !important;
    }

/* Compact Reviews List */
.compact-review-item {
    transition: background-color 0.2s;
}

    .compact-review-item:hover {
        background-color: #f8f9fa;
    }

.compact-review-content {
    margin-right: 40px;
}

.compact-review-comment {
    color: #444;
}

.compact-review-images img {
    transition: transform 0.2s;
}

    .compact-review-images img:hover {
        transform: scale(1.05);
    }

.compact-star.filled {
    color: #ffc107;
}

.compact-star {
    color: #ddd;
}

/* Form Controls */
.form-control-sm {
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .compact-review-content {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .compact-rating-input {
        justify-content: center;
    }
}

/* Read More Link */
.read-more {
    text-decoration: none;
    font-size: 0.8rem;
}

    .read-more:hover {
        text-decoration: underline;
    }

/* More Images Count */
.more-images-count {
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.8;
}

    .more-images-count:hover {
        opacity: 1;
    }

/* Helpful Buttons */
.compact-review-helpful .btn {
    font-size: 0.75rem;
}

/* Avatar Styles */
.compact-reviewer-avatar {
    font-weight: 600;
    background-color: #007bff;
}
/* ===== Compact Reviews Styles ===== */
.compact-rating-bars {
    margin-top: 1rem;
}

.compact-rating-bar {
    font-size: 0.8rem;
}

.compact-star-label {
    color: #666;
    text-align: left;
}

.compact-bar {
    background-color: #e9ecef;
}

.compact-fill {
    background-color: #ffc107;
}

.compact-count {
    text-align: left;
}

/* Compact Rating Input */
.compact-rating-input {
    display: flex;
    gap: 0.25rem;
    direction: ltr;
    justify-content: flex-end;
}

.compact-star-label-btn {
    font-size: 1.5rem;
    transition: color 0.2s;
    cursor: pointer;
}

    .compact-star-label-btn:hover {
        color: #ffc107 !important;
    }

/* Compact Reviews List */
.compact-review-item {
    transition: background-color 0.2s;
}

    .compact-review-item:hover {
        background-color: #f8f9fa;
    }

.compact-review-content {
    margin-right: 40px;
}

.compact-review-comment {
    color: #444;
}

.compact-review-images img {
    transition: transform 0.2s;
}

    .compact-review-images img:hover {
        transform: scale(1.05);
    }

.compact-star.filled {
    color: #ffc107;
}

.compact-star {
    color: #ddd;
}

/* Form Controls */
.form-control-sm {
    font-size: 0.875rem;
}

/* Read More Link */
.read-more {
    text-decoration: none;
    font-size: 0.8rem;
    cursor: pointer;
}

    .read-more:hover {
        text-decoration: underline;
    }

/* More Images Count */
.more-images-count {
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.8;
}

    .more-images-count:hover {
        opacity: 1;
    }

/* Helpful Buttons */
.compact-review-actions .btn {
    font-size: 0.75rem;
}

.helpful-btn.active {
    color: #007bff;
    border-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .compact-review-content {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .compact-rating-input {
        justify-content: center;
    }
}