/* Estilos para página de detalle de producto - Basados en product-detail.png */

/* Colores del sistema de diseño */
:root {
    --color-white: #f9f8f7;
    --color-gray-light: #cad6df;
    --color-blue: #0047AB;
    --color-red: #f5ccd1;
    --color-red-dark: #dc2626;
}

/* Header Styles */
.header-section {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    transition: transform 0.2s ease-in-out;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Search Bar */
.search-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.search-bar:focus-within {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
    background: white;
}

/* Breadcrumbs */
.breadcrumbs-section {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

/* Main Product Display Area */
.product-detail-section {
    background: white;
    padding: 2rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.main-product-image:hover {
    transform: scale(1.05);
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.thumbnail.active {
    border-color: var(--color-blue);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* Product Information */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.rating-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.product-code {
    color: #6b7280;
    font-size: 0.875rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-price-final {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-blue);
    letter-spacing: -0.025em;
}

.product-price-original {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-price-badge {
    background: #dc2626;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.product-price-savings {
    margin-top: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #047857;
}

.product-price-validity {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.description-text {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

/* Estilos para HTML dentro de la descripción */
.description-text p {
    margin-bottom: 1rem;
}

.description-text p:last-child {
    margin-bottom: 0;
}

.description-text ul,
.description-text ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.description-text li {
    margin-bottom: 0.5rem;
}

.description-text strong,
.description-text b {
    font-weight: 600;
    color: #374151;
}

.description-text em,
.description-text i {
    font-style: italic;
}

.description-text a {
    color: #2563eb;
    text-decoration: underline;
}

.description-text a:hover {
    color: #1d4ed8;
}

.description-text h1,
.description-text h2,
.description-text h3,
.description-text h4 {
    font-weight: 600;
    color: #111827;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.description-text h1 {
    font-size: 1.5rem;
}

.description-text h2 {
    font-size: 1.25rem;
}

.description-text h3 {
    font-size: 1.125rem;
}

.description-text h4 {
    font-size: 1rem;
}

/* Specifications */
.product-specifications {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
}

/* Estilos para HTML dentro de las especificaciones */
.spec-value p {
    margin-bottom: 0.5rem;
}

.spec-value p:last-child {
    margin-bottom: 0;
}

.spec-value ul,
.spec-value ol {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.spec-value li {
    margin-bottom: 0.25rem;
}

.spec-value strong,
.spec-value b {
    font-weight: 600;
    color: #374151;
}

.spec-value em,
.spec-value i {
    font-style: italic;
}

.spec-value a {
    color: #2563eb;
    text-decoration: underline;
}

.spec-value a:hover {
    color: #1d4ed8;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.spec-label {
    font-weight: 500;
    color: #374151;
}

.spec-value {
    font-weight: 600;
    color: #111827;
}

/* Quantity Selector */
.quantity-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-label {
    font-weight: 500;
    color: #374151;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    background: #f9fafb;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-size: 1.125rem;
    font-weight: 600;
}

.quantity-btn:hover {
    background: #e5e7eb;
}

.quantity-input {
    border: none;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    width: 80px;
    outline: none;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.add-to-cart-btn {
    background: var(--color-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.add-to-cart-btn:hover {
    background: #003d8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 71, 171, 0.3);
}

.wishlist-btn {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: #dc2626;
}

.wishlist-btn:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

.contact-seller-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 100%;
    margin-top: 1rem;
}

.contact-seller-btn:hover {
    background: #4b5563;
}

/* Related Products Section */
.related-products-section {
    background: #f9fafb;
    padding: 3rem 0;
}

.related-products-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    text-align: left;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    position: relative;
}

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-red-dark);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 10;
}

.related-product-card .product-image {
    height: 200px;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

.related-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.related-product-card:hover .product-image img {
    transform: scale(1.05);
}

.related-product-card .product-info {
    padding: 1.25rem;
    gap: 0.75rem;
}

.related-product-card .product-name {
    font-weight: 700;
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.3;
}

.related-product-card .product-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.related-product-card .product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-blue);
}

.related-product-card .add-to-cart-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--color-blue);
    color: white;
    padding: 20px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.footer-nav a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease-in-out;
}

.footer-nav a:hover {
    color: #e0e0e0;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease-in-out;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.social-link span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image-container {
        height: 400px;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-price {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-detail-grid {
        gap: 1.5rem;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .thumbnail-gallery {
        gap: 0.5rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 1.75rem;
    }
    
    .product-price {
        font-size: 1.75rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .add-to-cart-btn {
        width: 100%;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-right {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        height: 250px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Remate EUA Badge */
.remate-badge-container {
    display: flex;
    align-items: center;
}

.remate-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.remate-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.remate-badge:hover::before {
    left: 100%;
}

.remate-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-badge.hidden {
    display: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Estilos para productos relacionados con diseño de liquidación */
.clearance-section {
    padding: 3rem 2rem;
    background: #fff;
}

.clearance-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clearance-section .section-title {
    font-size: 2.5rem;
    color: #0047AB;
    font-weight: 700;
    margin: 0;
}

.clearance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 450px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.clearance-product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.clearance-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.clearance-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.clearance-product-link:hover {
    text-decoration: none;
    color: inherit;
}

.clearance-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.clearance-image-container {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.clearance-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.clearance-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.clearance-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.clearance-price-container {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clearance-old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.clearance-new-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0047AB;
}

.clearance-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.clearance-actions .add-to-cart-btn {
    background: #0047AB;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    cursor: pointer;
}

.clearance-actions .add-to-cart-btn:hover {
    background: #003399;
    transform: scale(1.05);
}

/* Responsive para productos relacionados */
@media (max-width: 768px) {
    .clearance-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 400px;
        gap: 1.5rem;
        padding: 0 1rem;
        align-items: start;
    }
    
    .clearance-product-card {
        padding: 1rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .clearance-image-container {
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .clearance-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .clearance-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .clearance-price-container {
        margin-bottom: 1rem;
    }
    
    .clearance-actions .add-to-cart-btn {
        margin-top: auto;
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .clearance-new-price {
        font-size: 1.1rem;
    }
}

/* Reviews Section Styles */
.reviews-section {
    background: #f8fafc;
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.review-rating {
    display: flex;
    gap: 0.125rem;
}

.review-date {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.review-content {
    margin-top: 1rem;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.review-comment {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Reviews */
@media (max-width: 768px) {
    .reviews-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .review-date {
        align-self: flex-end;
    }
}

/* Rating Summary Styles */
.rating-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    min-width: 30px;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    min-width: 30px;
    text-align: right;
}

/* Pagination Styles */
.reviews-pagination {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 40px;
    height: 40px;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1f2937;
}

.pagination-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    font-weight: 600;
}

.pagination-btn.disabled {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .rating-summary {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .rating-bar {
        gap: 0.5rem;
    }
    
    .rating-label {
        min-width: 25px;
        font-size: 0.8rem;
    }
    
    .rating-count {
        min-width: 25px;
        font-size: 0.8rem;
    }
    
    .pagination-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 35px;
        height: 35px;
    }
    
    .pagination-info {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* AJAX Loading States */
#reviews-container {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#reviews-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
} 