/* Products Section Styles */
.products-grid-container {
    position: relative;
    padding: 20px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.product-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-badge.discount-badge {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
}

.product-badge.new-badge {
    background: linear-gradient(135deg, #2ed573, #7bed9f);
    color: white;
}

.product-badge.bestseller-badge {
    background: linear-gradient(135deg, #ffa502, #ff6348);
    color: white;
}

.product-badge.bestseller {
    background-color: #ffe082;
    color: #ff8f00;
}

.product-badge.new {
    background-color: #c8e6c9;
    color: #2e7d32;
}

/* Product Stock Label */
.product-stock-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

.product-stock-label.in-stock {
    background: rgba(46, 125, 50, 0.9);
    color: white;
}

.product-stock-label.out-of-stock {
    background: rgba(244, 67, 54, 0.9);
    color: white;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image:not(.loaded)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 3px solid #ddd;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.product-image img.loaded {
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.product-image.loaded::before {
    display: none;
}

.product-image.loaded::after {
    display: none;
}

.product-image img.loading {
    opacity: 0;
}

.product-image img.error {
    opacity: 0.7;
    filter: grayscale(50%);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Product Actions Overlay */
.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 4;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.add-to-wishlist,
.quick-view,
.view-product {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.add-to-wishlist:hover,
.quick-view:hover,
.view-product:hover {
    background: #2E7D32;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .overlay-content {
    transform: translateY(0);
}

.view-details {
    display: inline-block;
    padding: 10px 20px;
    background: #2E7D32;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-details:hover {
    background: #1b5e20;
    transform: scale(1.05);
    color: #fff;
    text-decoration: none;
}

/* Product Info */
.product-info,
.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-info-content {
    flex-grow: 1;
}

.product-info-footer {
    margin-top: auto;
}

.product-category {
    margin-bottom: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
}

.product-category a {
    color: #757575;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-category a:hover {
    color: #2E7D32;
    text-decoration: underline;
}

.category-emoji {
    font-size: 14px;
}

.product-title,
.product-info h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: flex-start;
}

.product-title a,
.product-title h3 a,
.product-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover,
.product-title h3 a:hover,
.product-info h3 a:hover {
    color: #2E7D32;
    text-decoration: none;
}

.product-title h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.product-info h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

/* Product Rating */
.product-rating {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    font-size: 14px;
}

.rating-text {
    color: #757575;
    font-size: 13px;
}

/* Product Stats */
.product-stats {
    margin-bottom: 15px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stock-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ff8f00;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.stock-warning i {
    font-size: 12px;
}

.sales-count {
    color: #757575;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sales-count i {
    color: #2E7D32;
}

/* Product Bottom Section - قسمت پایینی کارت */
.product-bottom {
    margin-top: auto;
    padding-top: 10px;
}

.product-price {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #9e9e9e;
    font-size: 14px;
    font-weight: normal;
}

.current-price {
    font-weight: 600;
    font-size: 18px;
    color: #2E7D32;
}

/* Add to Cart Button */
.btn-add-to-cart,
.btn-notify-me {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-add-to-cart:hover,
.btn-notify-me:hover {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    color: white;
    text-decoration: none;
}

.btn-add-to-cart.clicked {
    animation: clickPulse 0.3s ease;
}

@keyframes clickPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.btn-notify-me {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.btn-notify-me:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

/* Product Filter */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2E7D32;
    color: #fff;
    border-color: #2E7D32;
}

/* Responsive Design */
@media (min-width: 768px) {
    .action-text {
        display: inline-block;
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .product-card {
        min-height: 450px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content,
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .current-price {
        font-size: 16px;
    }
    
    .action-button {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .product-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .btn-add-to-cart,
    .btn-notify-me {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        min-height: 400px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-filter {
        gap: 10px;
    }
} 

/* Enhanced Product Card Styles */
.btn-add-to-cart,
.btn-notify-me {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    width: 100%;
    margin-top: 8px;
}

.btn-add-to-cart:hover,
.btn-notify-me:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
    color: white;
    text-decoration: none;
}

.btn-add-to-cart.clicked {
    animation: clickPulse 0.3s ease;
}

@keyframes clickPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.btn-notify-me {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.btn-notify-me:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.quick-actions {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.product-card:hover .quick-actions {
    opacity: 1;
    transform: translateX(0);
}

.quick-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.quick-action-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.quick-action-btn.add-to-wishlist:hover {
    color: #e74c3c;
}

.quick-action-btn.quick-view:hover {
    color: #3498db;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-card:hover .category-badge {
    opacity: 1;
    transform: translateY(0);
}

.category-badge.camping {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.category-badge.hiking {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}

.category-badge.climbing {
    background: rgba(155, 89, 182, 0.9);
    color: white;
}

.category-badge.backpack {
    background: rgba(22, 160, 133, 0.9);
    color: white;
}

.category-badge.clothing {
    background: rgba(142, 68, 173, 0.9);
    color: white;
}

.category-badge.shoes {
    background: rgba(52, 73, 94, 0.9);
    color: white;
}

.category-badge.default {
    background: rgba(149, 165, 166, 0.9);
    color: white;
}

.product-stats {
    margin: 12px 0;
    font-size: 13px;
}

.stock-warning {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 5px;
}

.stock-warning i {
    margin-left: 5px;
}

.sales-count {
    color: #27ae60;
    font-weight: 500;
}

.sales-count i {
    margin-left: 5px;
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.toast-notification.success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.toast-notification.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.toast-notification.info {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes slideInRight {
    from {
        transform: translateX(300px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .product-card {
        min-height: 420px;
    }

    .product-title,
    .product-info h3 {
        min-height: 45px;
        font-size: 16px;
    }
    
    .product-stats {
        min-height: 35px;
    }
    
    .product-rating {
        min-height: 25px;
    }
    
    .product-category {
        min-height: 20px;
    }

    .toast-notification {
        right: 10px;
        left: 10px;
        top: 10px;
    }
    
    .quick-actions {
        position: static;
        opacity: 1;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin: 10px 0;
    }
    
    .category-badge {
        position: static;
        opacity: 1;
        transform: none;
        margin-bottom: 10px;
        display: inline-flex;
    }
    
    .btn-add-to-cart,
    .btn-notify-me {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.slider-arrow:hover {
    background: #2E7D32;
    color: white;
}

/* No Products Message */
.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    color: #757575;
}

.no-products-message i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #9e9e9e;
}

.no-products-message.error i {
    color: #e53935;
}

/* View All Section */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background-color: #fff;
    color: #2E7D32;
    border: 2px solid #2E7D32;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-products:hover {
    background-color: #2E7D32;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
    text-decoration: none;
}

/* Product Filter */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2E7D32;
    border-color: #2E7D32;
    color: white;
    transform: translateY(-2px);
}

/* Action Text - Hidden by default */
.action-text {
    display: none;
}

/* Quick Actions */
.quick-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 4;
}

.product-card:hover .quick-actions {
    opacity: 1;
}

.quick-action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.quick-action-btn:hover {
    background: #2E7D32;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.quick-action-btn.add-to-wishlist:hover {
    background: #e91e63;
}

.quick-action-btn.quick-view:hover {
    background: #2196f3;
}

/* Category Badge */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.product-card:hover .category-badge {
    transform: translateY(-2px);
}

.category-badge.camping {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.category-badge.hiking {
    background: rgba(121, 85, 72, 0.1);
    color: #5d4037;
}

.category-badge.climbing {
    background: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
}

.category-badge.backpack {
    background: rgba(22, 160, 133, 0.1);
    color: #16a085;
}

.category-badge.clothing {
    background: rgba(142, 68, 173, 0.1);
    color: #8e44ad;
}

.category-badge.shoes {
    background: rgba(52, 73, 94, 0.1);
    color: #34495e;
}

.category-badge.default {
    background: rgba(149, 165, 166, 0.1);
    color: #95a5a6;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.toast-notification.success {
    border-left: 4px solid #4caf50;
}

.toast-notification.error {
    border-left: 4px solid #f44336;
}

.toast-notification.info {
    border-left: 4px solid #2196f3;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .action-text {
        display: inline;
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .product-card {
        min-height: 450px;
    }

    .product-image {
        height: 240px;
    }

    .product-content,
    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 16px;
    }

    .current-price {
        font-size: 16px;
    }

    .action-button {
        padding: 8px 12px;
        font-size: 13px;
    }

    .product-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .btn-add-to-cart,
    .btn-notify-me {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        min-height: 400px;
    }

    .product-image {
        height: 220px;
    }

    .product-filter {
        gap: 10px;
    }
    
    .product-image:not(.loaded)::after {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
}

/* Legacy button styles for compatibility */
.btn-add-to-cart,
.add-to-cart {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
    text-decoration: none;
}

.btn-add-to-cart:hover,
.add-to-cart:hover,
.btn-add-to-cart.clicked {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    color: white;
    text-decoration: none;
}

.btn-add-to-cart.clicked {
    animation: clickPulse 0.3s ease-in-out;
}

@keyframes clickPulse {
    0%, 100% { transform: scale(1) translateY(-2px); }
    50% { transform: scale(0.95) translateY(-2px); }
}

.btn-notify-me {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-notify-me:hover {
    background: #e9ecef;
    border-color: #ced4da;
    color: #495057;
}

/* Additional product card styles for mobile */
@media (max-width: 768px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .quick-actions {
        gap: 8px;
    }

    .quick-action-btn {
        width: 35px;
        height: 35px;
    }

    .category-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .btn-add-to-cart,
    .btn-notify-me {
        padding: 10px;
        font-size: 14px;
    }
}