/* Blog Post Styles */

/* Breadcrumb */
.breadcrumb-nav {
    margin: 1rem 0;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Sidebar Styles */
.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s;
    margin-left: 0.5rem;
}

.sidebar-toggle:hover {
    background: var(--primary);
    color: white;
}

.blog-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.blog-sidebar.active {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.blog-sidebar.active .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.sidebar-content {
    position: relative;
    z-index: 1001;
    height: 100%;
    background: white;
    padding: 1rem;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.sidebar-logo {
    height: 40px;
    width: auto;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.sidebar-close:hover {
    color: var(--primary);
    background: #f0f0f0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.sidebar-link:hover {
    background: var(--primary);
    color: white;
}

.sidebar-link.active {
    background: var(--primary);
    color: white;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Two Column Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-main-content {
    min-width: 0;
}

/* Right Sidebar Styles */
.blog-right-sidebar {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    height: fit-content;
    box-shadow: var(--shadow);
    position: sticky;
    top: 2rem;
}

.sidebar-title {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.recommended-products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    flex: 1;
}

.product-info h4 {
    font-size: 0.9rem;
    color: var(--secondary);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.product-price {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.product-rating i {
    color: #ffc107;
    font-size: 0.7rem;
}

.product-rating span {
    color: var(--text-light);
    font-size: 0.7rem;
}

.view-all-products {
    margin-top: 1.5rem;
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
}

.view-all-btn:hover {
    background: #7eab2c;
    transform: translateY(-2px);
}

/* Blog Post */
.blog-post {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-header h1 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-date::before {
    content: "📅";
    margin-left: 0.25rem;
}

.blog-author::before {
    content: "👤";
    margin-left: 0.25rem;
}

.blog-category {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.blog-post-image {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post-content h2 {
    color: var(--secondary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.blog-post-content h3 {
    color: var(--secondary);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.25rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1rem 0;
    padding-right: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    background: #f8f9fa;
    border-right: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 8px;
}

.content-loading {
    text-align: center;
    padding: 3rem 0;
}

.content-loading .spinner {
    margin: 0 auto 1rem;
}

/* Share Section */
.share-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.share-section h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-weight: 500;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy {
    background: var(--secondary);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.comments-section h2 {
    color: var(--secondary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Add Comment Form */
.add-comment-form {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.add-comment-form h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-comment-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.submit-comment-btn:hover {
    background: #7eab2c;
    transform: translateY(-2px);
}

/* Comments List */
.comments-loading {
    text-align: center;
    padding: 2rem 0;
}

.comments-loading .spinner {
    margin: 0 auto 1rem;
}

.comment-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.comment-info h4 {
    margin: 0;
    color: var(--secondary);
    font-size: 1rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.comment-text {
    line-height: 1.6;
    margin-right: 66px;
}

.load-more-comments {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: #7eab2c;
}

/* Recommended Products */
.recommended-products {
    margin-bottom: 3rem;
}

.recommended-products .section-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.recommended-products .section-title {
    margin: 0;
    font-size: 1.5rem;
}

/* Success/Error Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-right-sidebar {
        order: -1;
        position: static;
    }
    
    .recommended-products-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .blog-sidebar {
        width: 280px;
        right: -280px;
    }
    
    .blog-post {
        padding: 1rem;
    }
    
    .blog-post-header h1 {
        font-size: 1.5rem;
    }
    
    .blog-post-image img {
        height: 200px;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        justify-content: stretch;
    }
    
    .share-btn {
        flex: 1;
        justify-content: center;
    }
    
    .comment-text {
        margin-right: 0;
        margin-top: 0.5rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .recommended-products-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-sidebar {
        width: 250px;
        right: -250px;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
}

/* Checkout Styles */
.checkout-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.checkout-header h1 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.checkout-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Product Selection */
.product-selection {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.product-selection h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.product-option:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-option input[type="checkbox"]:checked ~ .product-details {
    opacity: 1;
}

.product-option input[type="checkbox"]:not(:checked) ~ .product-details {
    opacity: 0.7;
}

.product-checkbox {
    position: relative;
}

.product-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.product-checkbox label {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
    transition: opacity 0.3s;
}

.product-details h3 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-details .product-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quantity-controls button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-controls .quantity {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    color: var(--secondary);
}

/* Checkout Form */
.checkout-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.checkout-form h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.checkout-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-form .form-group label {
    display: block;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.checkout-form .form-group input,
.checkout-form .form-group select,
.checkout-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.checkout-form .form-group input:focus,
.checkout-form .form-group select:focus,
.checkout-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.checkout-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.coupon-input {
    display: flex;
    gap: 0.5rem;
}

.coupon-input input {
    flex: 1;
}

.apply-coupon-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.apply-coupon-btn:hover {
    background: #7eab2c;
}

/* Order Summary */
.order-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.order-summary h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--secondary);
    border-top: 2px solid var(--primary);
    padding-top: 1rem;
    margin-top: 1rem;
}

.summary-item.discount-row {
    color: var(--primary);
}

.submit-order-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-order-btn:hover {
    background: #7eab2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-selection {
        order: 2;
    }
    
    .checkout-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 0 0.5rem;
    }
    
    .checkout-header {
        padding: 1rem;
    }
    
    .checkout-header h1 {
        font-size: 1.5rem;
    }
    
    .product-selection,
    .checkout-form {
        padding: 1rem;
    }
    
    .product-option {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .product-image {
        width: 60px;
        height: 60px;
    }
    
    .coupon-input {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .checkout-header h1 {
        font-size: 1.25rem;
    }
    
    .product-details h3 {
        font-size: 0.9rem;
    }
    
    .checkout-form .form-group {
        margin-bottom: 1rem;
    }
}

/* Blog Listing Page Styles */
.blog-header {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.blog-header h1 {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Filter */
.categories-filter {
    margin: 2rem 0;
}

.categories-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
}

.category-tab:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.category-tab i {
    font-size: 1rem;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-date i {
    color: var(--primary);
}

.read-more {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    color: #7eab2c;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: #7eab2c;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
    margin: 0 1rem;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.page-number:hover {
    background: var(--primary);
    color: white;
}

.page-number.active {
    background: var(--primary);
    color: white;
}

/* Loading State */
.blog-loading {
    text-align: center;
    padding: 3rem 0;
}

.blog-loading .spinner {
    margin: 0 auto 1rem;
}

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.blog-empty i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-empty h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.blog-empty p {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header {
        padding: 2rem 1rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-header p {
        font-size: 1rem;
    }

    .categories-tabs {
        padding: 1rem;
        gap: 0.5rem;
    }

    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination-numbers {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .categories-tabs {
        flex-direction: column;
    }

    .category-tab {
        justify-content: center;
    }

    .blog-content {
        padding: 1rem;
    }

    .pagination-btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}