/* Gifts of Appreciation Styles */
.appreciation-gifts-promo {
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #f5bf0d 0%, #edf5db 100%);

     
    /* Add border and shadow */
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.1), 
                0 1px 3px rgba(0, 0, 0, 0.05); /* subtle inner shadow */
}

.appreciation-promo-card {
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.appreciation-card-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.appreciation-icon-container {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.appreciation-icon-container i {
    font-size: 2.5rem;
    color: white;
}

.appreciation-text-content {
    flex: 1;
}

.appreciation-text-content .promo-subtitle {
    color: #e67e22;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.appreciation-text-content .promo-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.appreciation-text-content .promo-description {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.appreciation-text-content .promo-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.appreciation-text-content .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #e67e22;
    border: 1px solid rgba(230, 126, 34, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.appreciation-card-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.appreciation-cta-btn {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.appreciation-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
}

.appreciation-cta-btn .btn-icon {
    transition: transform 0.3s ease;
}

.appreciation-cta-btn:hover .btn-icon {
    transform: translateX(5px);
}

.appreciation-card-right .promo-stats {
    display: flex;
    gap: 2rem;
}

.appreciation-card-right .stat-item {
    text-align: center;
}

.appreciation-card-right .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.appreciation-card-right .stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.3rem;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .appreciation-promo-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .appreciation-card-left {
        flex-direction: column;
        text-align: center;
    }

    .appreciation-text-content .promo-features {
        justify-content: center;
    }

    .appreciation-card-right {
        align-items: center;
    }

    .appreciation-card-right .promo-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .appreciation-gifts-promo {
        padding: 2rem 0;
    }

    .appreciation-promo-card {
        padding: 2rem;
    }

    .appreciation-text-content .promo-title {
        font-size: 1.8rem;
    }

    .appreciation-text-content .promo-features {
        flex-direction: column;
        align-items: center;
    }

    .appreciation-card-right .promo-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .appreciation-promo-card {
        padding: 1.5rem;
    }

    .appreciation-icon-container {
        width: 60px;
        height: 60px;
    }

    .appreciation-icon-container i {
        font-size: 2rem;
    }

    .appreciation-text-content .promo-title {
        font-size: 1.6rem;
    }

    .appreciation-cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Appreciation Gifts Specific Styles */

/* Hero Section */
.appreciation-hero {
    background: linear-gradient(135deg, #fff7f0 0%, #fff0e6 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 3px solid rgba(230, 126, 34, 0.2);
    margin-bottom: 3rem;
}

.appreciation-hero h1 {
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.appreciation-hero p {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.appreciation-hero .hero-icon {
    font-size: 4rem;
    color: #e67e22;
    margin-bottom: 1.5rem;
}

/* Categories Grid */
.appreciation-categories {
    margin: 3rem 0;
}

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

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(230, 126, 34, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.15);
}

.category-card i {
    font-size: 2.5rem;
    color: #e67e22;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Filters */
.appreciation-filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.filter-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #333;
    font-size: 1rem;
    min-width: 200px;
}

/* Testimonials */
.testimonial-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 12px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: #e67e22;
    opacity: 0.3;
    position: absolute;
    left: -10px;
    top: -20px;
}

.testimonial-author {
    font-weight: 600;
    color: #2c3e50;
}

.testimonial-role {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border-radius: 12px;
    margin: 4rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: #e67e22;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Product Card Enhancements for Appreciation Gifts */
.appreciation-products .product-card {
    border: 1px solid rgba(230, 126, 34, 0.1);
}

.appreciation-products .product-card:hover {
    border-color: rgba(230, 126, 34, 0.3);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.1);
}

.appreciation-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e67e22;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Admin Styles for Appreciation Gifts */
.appreciation-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.appreciation-admin-header h1 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.appreciation-admin-header h1 i {
    color: #e67e22;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-card h3 {
    color: #7f8c8d;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.stat-card .stat-change {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.stat-card .stat-change.positive {
    color: #27ae60;
}

.stat-card .stat-change.negative {
    color: #e74c3c;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    background: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tag i {
    cursor: pointer;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .appreciation-hero h1 {
        font-size: 2.2rem;
    }
    
    .appreciation-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        min-width: unset;
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .appreciation-hero h1 {
        font-size: 1.8rem;
    }
    
    .appreciation-hero .hero-icon {
        font-size: 3rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}

    /* Quick fix for appreciation gifts images */
    /* Add these styles to your existing CSS */

/* Fix for oversized product images */
.appreciation-products .product-card .product-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.appreciation-products .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures images cover the area without distortion */
    object-position: center;
    transition: transform 0.3s ease;
}

.appreciation-products .product-card:hover .product-image img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* Adjust the product card layout */
.appreciation-products .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.appreciation-products .product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.appreciation-products .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.appreciation-products .product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}

/* Update the products grid layout */
#appreciationProducts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Loading state */
.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-products, .error-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
}

/* Badges positioning */
.out-of-stock, .popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.out-of-stock {
    background: #e74c3c;
    color: white;
}

.popular-badge {
    background: #e67e22;
    color: white;
}

/* Price styling */
.product-price {
    margin: 1rem 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.original-price {
    font-size: 1rem;
    color: #95a5a6;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Button styling */
.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-add-to-cart {
    flex-grow: 1;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-wishlist {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #95a5a6;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    background: #ffeaea;
}