/* Sales CSS - Clean and Fixed Version */

/* Basic Product Card Styles */
.product-card {
    transition: transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Product Cards - ปรับให้เหมาะสมกับหน้าเว็บ */
.product-card-enhanced {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    height: 100%;
    max-height: 480px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.product-card-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Popular Ribbon - ขนาดเล็กลง */
.popular-ribbon {
    position: absolute;
    top: 8px;
    right: -18px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 3px 20px;
    font-size: 0.65rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Product Image - ปรับขนาดให้เหมาะสม */
.product-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-enhanced:hover .product-image {
    transform: scale(1.03);
}

/* Badge Styles - ขนาดเล็กลง */
.fs-7 {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.4rem !important;
}

.badge {
    font-weight: 600;
    border-radius: 6px;
}

/* Card Body - ปรับ spacing */
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.75rem;
}

/* Product Title - ปรับขนาด */
.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    text-align: center;
    height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

/* Price Section - ขนาดเล็กลง */
.price-section {
    padding: 0.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    margin: 0 -0.25rem 0.75rem -0.25rem;
    text-align: center;
}

.price-main {
    font-size: 1.2rem !important;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

/* Rating Section - ขนาดเล็กลง */
.rating-section {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 12px;
    padding: 0.4rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.star-rating {
    display: inline-flex;
    gap: 1px;
}

.star-rating .fa-star {
    font-size: 0.75rem;
}

/* Features Section - ขนาดเล็กลง */
.features-section {
    background: rgba(248, 249, 250, 0.9);
    border-radius: 8px;
    padding: 0.5rem;
    flex: 1;
    min-height: 60px;
    max-height: 90px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.features-section h6 {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
}

.feature-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-left: 0.4rem;
}

/* Button Section - ขนาดเล็กลง */
.button-section {
    margin-top: auto;
}

.btn {
    font-size: 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-sm {
    font-size: 0.7rem;
    padding: 0.3rem 0.4rem;
}

.add-to-cart {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary));
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 0.8rem;
}

.add-to-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Product Overlay */
.product-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.product-card-enhanced:hover .product-overlay-new {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.product-card-enhanced:hover .overlay-content {
    transform: translateY(0);
}

/* Benefits Section - ขนาดเล็กลง */
.benefits-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    margin-top: 1.5rem;
}

.benefit-card {
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Zone Styling */
.zone-donate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem 0;
    margin-top: 76px;
}

.zone-foam {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem 0;
}

/* Grid Layout - ปรับให้เหมาะสม */
.row.g-4.justify-content-center {
    margin: 0 -0.5rem;
}

.row.g-4.justify-content-center > * {
    padding: 0 0.5rem;
    margin-bottom: 1rem;
}

/* Bootstrap Color Classes */
.text-primary { color: #007bff !important; }
.text-success { color: #28a745 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #17a2b8 !important; }
.text-danger { color: #dc3545 !important; }
.text-muted { color: #6c757d !important; }

.bg-primary { background-color: #007bff !important; }
.bg-success { background-color: #28a745 !important; }
.bg-warning { background-color: #ffc107 !important; }
.bg-info { background-color: #17a2b8 !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-light { background-color: #f8f9fa !important; }

/* Utility Classes */
.shadow {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive Design */
@media (min-width: 1200px) {
    .product-card-enhanced {
        max-height: 500px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .price-main {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 991px) {
    .product-card-enhanced {
        max-height: 460px;
    }
    
    .product-image-wrapper {
        height: 170px;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
    
    .price-main {
        font-size: 1.1rem !important;
    }
    
    .features-section {
        min-height: 55px;
        max-height: 80px;
        padding: 0.4rem;
    }
    
    .popular-ribbon {
        font-size: 0.6rem;
        padding: 2px 18px;
        right: -16px;
    }
    
    .benefits-section {
        padding: 1.25rem;
    }
    
    .benefit-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .product-card-enhanced {
        max-height: 420px;
    }
    
    .product-image-wrapper {
        height: 150px;
    }
    
    .card-body {
        padding: 0.6rem !important;
    }
    
    .price-section {
        padding: 0.4rem;
        margin: 0 -0.2rem 0.6rem -0.2rem;
    }
    
    .price-main {
        font-size: 1rem !important;
    }
    
    .features-section {
        min-height: 50px;
        max-height: 70px;
        padding: 0.4rem;
    }
    
    .features-section h6 {
        font-size: 0.75rem;
    }
    
    .feature-list li {
        font-size: 0.7rem;
    }
    
    .popular-ribbon {
        display: none;
    }
    
    .zone-donate {
        padding: 2rem 0;
        margin-top: 70px;
    }
    
    .zone-foam {
        padding: 1.25rem 0;
    }
}

@media (max-width: 576px) {
    .product-card-enhanced {
        max-height: 380px;
    }
    
    .product-image-wrapper {
        height: 130px;
    }
    
    .card-body {
        padding: 0.5rem !important;
    }
    
    .product-title {
        font-size: 0.8rem;
        height: 2.2em;
        margin-bottom: 0.5rem;
    }
    
    .price-section {
        padding: 0.3rem;
        margin: 0 -0.1rem 0.5rem -0.1rem;
    }
    
    .price-main {
        font-size: 0.95rem !important;
    }
    
    .features-section {
        min-height: 45px;
        max-height: 60px;
        padding: 0.3rem;
    }
    
    .features-section h6 {
        font-size: 0.7rem;
    }
    
    .feature-list li {
        font-size: 0.65rem;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.6rem;
    }
    
    .btn-sm {
        font-size: 0.65rem;
        padding: 0.25rem 0.35rem;
    }
}

/* Container and Grid Fixes */
.container {
    max-width: 1200px;
}

.row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.col-lg-4, .col-md-6, .col-12 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Z-index Management */
.navbar { z-index: 1050; }
.modal { z-index: 1055; }
.product-card-enhanced { z-index: 1; }
.product-card-enhanced:hover { z-index: 10; }
.popular-ribbon { z-index: 20; }
.product-overlay-new { z-index: 15; }

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Clean Base Styles */
.d-flex { gap: 0.2rem; }
.d-grid { gap: 0.4rem; }
.fw-bold { font-weight: 600 !important; }
    .why-icon {
        width: 40px;
        height: 40px;
    }
    
    .zone-donate {
        padding: 3rem 0;
        margin-top: 70px;
    }
    
    .zone-foam {
        padding: 2rem 0;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .badge {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }

@media (max-width: 576px) {
    .card-body h5 {
        font-size: 0.85rem;
        min-height: auto;
        -webkit-line-clamp: 2;
    }
    
    .price-section .h4 {
        font-size: 1rem;
    }
    
    .features-preview ul li {
        font-size: 0.7rem;
    }
    
    .product-image-container {
        height: 160px;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    
    .btn-lg {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
}

/* Z-index hierarchy */
.navbar {
    z-index: 1050;
}

.modal {
    z-index: 1055;
}

.product-card-modern {
    z-index: 1;
}

.product-card-modern:hover {
    z-index: 2;
}

/* Clear spacing issues */
* {
    box-sizing: border-box;
}

.d-flex {
    gap: 0.25rem;
}

.d-grid {
    gap: 0.5rem;
}

/* Text clarity */
.text-muted {
    opacity: 0.7;
}

.fw-bold {
    font-weight: 600 !important;
}

small {
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Pulse animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Star rating enhancements */
.star-rating .fa-star {
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.star-rating .fa-star.text-warning {
    color: #ffc107 !important;
}

/* Loading states */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Text overflow fixes */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Clear floats and positioning issues */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Z-index hierarchy */
.navbar {
    z-index: 1050;
}

.modal {
    z-index: 1055;
}

.product-card-modern {
    z-index: 1;
}

.product-card-modern:hover {
    z-index: 10;
}

/* Prevent text selection on interactive elements */
.btn, .badge, .product-overlay {
    user-select: none;
}

/* Enhanced Product Cards */
.product-card-enhanced {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
    height: 100%;
    position: relative;
}

.product-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Popular Ribbon */
.popular-ribbon {
    position: absolute;
    top: 15px;
    right: -25px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 20;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Product Image Wrapper */
.product-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-enhanced:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* Product Overlay */
.product-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-card-enhanced:hover .product-overlay_new {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card-enhanced:hover .overlay-content {
    transform: translateY(0);
}

/* Badge positioning fixes */
.product-image-wrapper .badge {
    position: absolute;
    z-index: 15;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper .position-absolute.top-0.start-0 {
    top: 10px !important;
    left: 10px !important;
}

.product-image-wrapper .position-absolute.top-0.end-0 {
    top: 10px !important;
    right: 10px !important;
}

/* Price Highlight */
.price-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid var(--bs-primary);
    margin-bottom: 1rem;
}

.price-main {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.price-sub small {
    font-size: 0.85rem;
}

/* Rating Display */
.rating-display {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 25px;
    padding: 8px 15px;
    margin-bottom: 1rem;
}

.star-rating {
    display: inline-flex;
    gap: 2px;
}

.star-rating .fa-star {
    font-size: 1rem;
    transition: all 0.2s ease;
}

/* Key Features */
.key-features {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.features-list i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Product Actions */
.product-actions {
    margin-top: auto;
}

.product-actions .add-to-cart {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-dark));
    border: none;
    color: white;
}

.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.add-to-cart:hover::before {
    left: 100%;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    color: white;
    margin-top: 3rem;
}

.benefit-card {
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.benefit-icon:hover {
    transform: scale(1.1);
}

/* Zone Styling */
.zone-donate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 76px;
}

.zone-foam {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 0;
    position: relative;
}

.zone-foam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.zone-foam .container {
    position: relative;
    z-index: 1;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Navbar Improvements */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

.navbar .badge {
    animation: none;
    transition: all 0.3s ease;
}

.navbar .badge:hover {
    transform: scale(1.1);
}

/* Button Enhancements */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Alert Improvements */
.alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Modern Sales Page Styles */

/* Hero Section */
.hero-sales-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 100px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.text-gradient {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-features .feature-item {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 1rem;
}

.btn-hero-primary {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
    color: white;
}

/* Product Showcase */
.hero-product-showcase {
    position: relative;
    z-index: 3;
}

.product-3d-card {
    position: relative;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
}

.hero-product-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.product-3d-card:hover .hero-product-image {
    transform: rotateY(10deg) rotateX(5deg);
}

.floating-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 12px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: bounce 3s ease-in-out infinite;
}

.floating-badge i {
    color: #4CAF50;
}

.floating-badge.badge-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    top: 50%;
    left: -10%;
    animation-delay: 1s;
}

.floating-badge.badge-3 {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

/* Stats Section - แสดงปกติ */
.stats-section {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 4;
    border-radius: 30px 30px 0 0;
}

.stat-modern-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.stat-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.stat-icon-modern {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'Prompt', sans-serif;
}

.stat-label {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.stat-modern-card small {
    color: #666;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Products Section */
.products-modern-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-filter-tabs .nav-pills .nav-link {
    background: white;
    color: #666;
    border-radius: 25px;
    margin: 0 0.5rem;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-filter-tabs .nav-pills .nav-link:hover,
.product-filter-tabs .nav-pills .nav-link.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.products-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-modern-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-modern-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-modern-card:hover .product-modern-image {
    transform: scale(1.05);
}

.product-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-modern-card:hover .product-overlay-modern {
    opacity: 1;
}

.product-actions-overlay {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-overlay {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.product-modern-card:hover .btn-overlay {
    transform: translateY(0);
    opacity: 1;
}

.btn-overlay:nth-child(1) { transition-delay: 0.1s; }
.btn-overlay:nth-child(2) { transition-delay: 0.2s; }
.btn-overlay:nth-child(3) { transition-delay: 0.3s; }

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 10;
}

.badge-starter { background: linear-gradient(45deg, #4CAF50, #45a049); }
.badge-popular { background: linear-gradient(45deg, #2196F3, #1976D2); }
.badge-pro { background: linear-gradient(45deg, #FF9800, #F57C00); }

.bestseller-ribbon {
    position: absolute;
    top: 15px;
    right: -25px;
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white;
    padding: 8px 35px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 15;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF4444;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 10;
    animation: pulse 2s infinite;
}

.product-status-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.status-badge {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.product-modern-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category-tag {
    margin-bottom: 1rem;
}

.category-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-modern-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-rating-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars-modern {
    display: flex;
    gap: 2px;
}

.star-active { color: #FFD700; }
.star-inactive { color: #ddd; }

.rating-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.product-price-modern {
    margin-bottom: 1.5rem;
}

.price-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price-original {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.price-current {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2E7D32;
}

.savings-text {
    font-size: 0.9rem;
    color: #FF4444;
    font-weight: 600;
}

.features-modern-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.features-modern-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.features-modern-list i {
    color: #4CAF50;
    font-size: 0.9rem;
}

.product-actions-modern {
    margin-top: auto;
}

.btn-modern-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-modern-primary::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;
}

.btn-modern-primary:hover::before {
    left: 100%;
}

.secondary-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-outline-modern {
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-outline-modern:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-icon-modern {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon-modern:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    transform: scale(1.1);
}

/* Trust Signals Section */
.trust-signals-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.trust-text h5 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #333;
}

.trust-text p {
    margin: 0;
    color: #666;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #667eea;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h6 {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.author-info small {
    color: #666;
}

/* Empty Products State */
.empty-products {
    padding: 4rem 0;
}

.empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 2rem;
}

/* Form Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.invalid-feedback {
    display: block !important;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Loading States */
.btn-loading {
    opacity: 0.6;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Form Improvements */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Modal Improvements */
.modal-content {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    border-radius: 0.75rem 0.75rem 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 0.75rem 0.75rem;
}

/* Button Improvements */
.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-modern-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-modern-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    color: white;
}

/* Cart Badge Animation */
.cart-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Product Card Animations */
.product-modern-card {
    transition: all 0.3s ease;
}

.product-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

/* Toast Notifications */
.alert.position-fixed {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fade in animation for filtered products */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .form-control, .form-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .invalid-feedback {
        font-size: 0.8rem;
    }
}
.no-reviews {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.no-reviews-icon {
    font-size: 4rem;
    color: #ddd;
}

/* Review Image Styles */
.review-image {
    margin-top: 1rem;
}

.review-image img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Image Preview in Review Form */
#imagePreview {
    margin-top: 10px;
}

#imagePreview img {
    border: 2px solid #e9ecef;
    border-radius: 8px;
}

.position-relative .btn-danger {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rating Input Styles */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-bottom: 1rem;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 2rem;
    color: #ddd;
    transition: color 0.3s ease;
    margin: 0 0.2rem;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #ffc107;
}

.star-rating-input input:checked ~ label {
    color: #ffc107;
}

.rating-text {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Review Card with Image */
.review-card {
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
}

.review-card .review-image {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Modal Image Styles */
.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Mobile responsive for review images */
@media (max-width: 768px) {
    .review-image img {
        max-height: 150px !important;
        width: auto !important;
    }
    
    #imagePreview img {
        max-height: 100px !important;
    }
    
    .star-rating-input label {
        font-size: 1.5rem;
        margin: 0 0.1rem;
    }
    
    .review-card {
        margin-bottom: 1rem;
    }
}


@media (max-width: 576px) {
    .reviews-section {
        padding: 2rem 0;
    }
    
    .review-summary-stats .stat-card {
        padding: 1rem;
    }
    
    .review-summary-stats .stat-number {
        font-size: 1.5rem;
    }
}

/* Customer Reviews Section Improvements */
.reviews-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../imgs/pattern.png') repeat;
    opacity: 0.03;
    z-index: 1;
}

.reviews-section .container {
    position: relative;
    z-index: 2;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107);
    z-index: 1;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.verified-badge {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.review-rating {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating .fas.fa-star {
    font-size: 1.2rem;
    margin-right: 0.1rem;
}

.review-rating .fas.fa-star.text-warning {
    color: #ffc107 !important;
    text-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
}

.review-product {
    margin-bottom: 1rem;
    padding: 0.6rem 1rem;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.review-product small {
    font-size: 0.9rem;
    font-weight: 600;
    color: #007bff;
}

.review-comment {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.review-comment p {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 0;
    font-weight: 400;
    text-align: justify;
}

.review-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.review-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.like-btn:hover {
    background: #007bff !important;
    color: white !important;
    transform: scale(1.05);
}

.no-reviews {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.no-reviews-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #6c757d;
    font-size: 3rem;
}

.review-summary-stats {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.review-summary-stats .stat-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.review-summary-stats .stat-card:hover {
    transform: translateY(-3px);
}

.review-summary-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.review-summary-stats .stat-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.stars-small {
    font-size: 1rem;
}

.stars-small .fas.fa-star.text-warning {
    color: #ffc107 !important;
    margin-right: 0.1rem;
}

/* Review Modal Improvements */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    font-size: 2rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
    color: #ffc107;
    text-shadow: 0 2px 5px rgba(255, 193, 7, 0.3);
    transform: scale(1.1);
}

.rating-text {
    text-align: center;
    font-weight: 600;
    color: #495057;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .reviewer-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .review-comment p {
        font-size: 0.95rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .verified-badge {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .review-card {
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .review-summary-stats {
        padding: 1.5rem;
    }
    
    .review-summary-stats .stat-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .review-summary-stats .stat-number {
        font-size: 2rem;
    }
}

/* Animation Enhancements */
@keyframes reviewCardEntry {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: reviewCardEntry 0.6s ease forwards;
}

.review-card:nth-child(2) {
    animation-delay: 0.1s;
}

.review-card:nth-child(3) {
    animation-delay: 0.2s;
}

.review-card:nth-child(4) {
    animation-delay: 0.3s;
}

.review-card:nth-child(5) {
    animation-delay: 0.4s;
}

.review-card:nth-child(6) {
    animation-delay: 0.5s;
}
