
.blog-detail-section {
    padding: 60px 0;
}

.blog-detail-header {
    margin-bottom: 30px;
}

.blog-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-detail-meta span {
    color: #666;
    font-size: 14px;
}

.blog-detail-meta i {
    color: #00a6aa;
    margin-right: 5px;
}

.blog-detail-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-detail-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 20px;
}

.blog-detail-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 25px 0 15px;
}

.blog-detail-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 20px 0 15px;
}

.blog-detail-content p {
    margin-bottom: 20px;
}

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-detail-content li {
    margin-bottom: 10px;
}

.blog-detail-content blockquote {
    border-left: 4px solid #00a6aa;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

.blog-detail-content a {
    color: #00a6aa;
    text-decoration: none;
}

.blog-detail-content a:hover {
    text-decoration: underline;
}

.back-to-blogs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00a6aa;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-to-blogs:hover {
    gap: 15px;
    color: #008a8d;
}

.back-to-blogs i {
    font-size: 14px;
}

/* Comments Section */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.comments-header {
    margin-bottom: 40px;
}

.comments-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.comments-count {
    color: #666;
    font-size: 16px;
}

.comment-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.comment-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.comment-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: #00a6aa;
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 170, 0.15);
    outline: none;
}

.comment-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.comment-submit-btn {
    background-color: #00a6aa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-submit-btn:hover {
    background-color: #008a8d;
    transform: translateY(-2px);
}

.comments-list {
    margin-top: 30px;
}

.comment-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a6aa 0%, #008a8d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.comment-meta {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
    margin-bottom: 3px;
}

.comment-date {
    color: #666;
    font-size: 13px;
}

.comment-date i {
    color: #00a6aa;
    margin-right: 5px;
}

.comment-text {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.related-blogs-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.related-blogs-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 28px;
    }

    .blog-detail-content h2 {
        font-size: 24px;
    }

    .blog-detail-content h3 {
        font-size: 20px;
    }

    .comments-title {
        font-size: 24px;
    }

    .comment-form {
        padding: 20px;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}





/* Top Brands Section */
.top-brands-section {
    margin-top: 40px;
}

.top-brands-section h2,
.top-categories-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.brand-card,
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.brand-card:hover,
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 166, 170, 0.1);
    border-color: #00a6aa;
}

.brand-image-wrapper,
.top-category-image-wrapper {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.brand-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.top-category-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.top-category-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.brand-name,
.top-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.brand-coupons,
.top-category-stores {
    font-size: 12px;
    color: #00a6aa;
    font-weight: 500;
}

.brand-hidden,
.top-category-hidden {
    display: none !important;
}

/* Top Categories Section */
.top-categories-section {
    margin-top: 40px;
}

/* Toggle Button Styling */
.btn-link {
    color: #00a6aa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: #008a8d;
}

.btn-link i {
    transition: transform 0.3s ease;
}

.btn-link i.rotated {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-image-wrapper,
    .top-category-image-wrapper {
        height: 60px;
    }
    
    .brand-name,
    .top-category-name {
        font-size: 13px;
    }
    
    .brand-coupons,
    .top-category-stores {
        font-size: 11px;
    }
}