/* Custom styles for compare and wishlist functionality */

#compare-indicator, #wishlist-indicator {
    transition: all 0.3s ease;
    transform: translateY(0);
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.compare-btn, .wishlist-btn {
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
}

.compare-btn:hover, .wishlist-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Wishlist specific styles */
.wishlist-icon {
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-icon.active i {
    color: #ff4c3b !important;
    fill: #ff4c3b !important;
}

.wishlist-icon:hover i {
    transform: scale(1.2);
}

.remove-wishlist {
    color: #333;
    transition: all 0.3s ease;
}

.remove-wishlist:hover {
    color: #ff4c3b;
    transform: scale(1.2);
}

.wishlist-item {
    transition: opacity 0.5s ease;
}

.wishlist-table img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.empty-wishlist i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Cookie bar styling */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1060;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-bar p {
    margin: 0;
    flex: 1;
    padding-right: 20px;
    font-size: 14px;
}

.cookie-bar .btn-group {
    display: flex;
    gap: 10px;
}

.cookie-bar .btn {
    white-space: nowrap;
}

.cookie-bar .btn-solid.btn-xs {
    padding: 5px 15px;
    font-size: 12px;
}

.cookie-bar .btn-accept {
    background-color: #28a745;
    border-color: #28a745;
}

.cookie-bar .btn-decline {
    background-color: transparent;
    border: 1px solid white;
}

@media (max-width: 768px) {
    .cookie-bar {
        flex-direction: column;
        padding: 15px;
    }
    
    .cookie-bar p {
        margin-bottom: 15px;
        padding-right: 0;
        text-align: center;
    }
    
    .cookie-bar .btn-group {
        width: 100%;
        justify-content: center;
    }
}

/* Toast notifications styling */
.toast-container {
    z-index: 1050;
}

.toast {
    min-width: 250px;
}

/* Compare page styling */
.empty-column {
    opacity: 0.3;
    background-color: #f8f8f8;
}

.remove-compare {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-compare:hover {
    background-color: #d32f2f;
}

table.table th.product-name {
    min-width: 120px;
}

.featured-image {
    max-height: 200px;
    object-fit: contain;
}

.empty-compare {
    padding: 40px 20px;
    text-align: center;
}

.empty-compare h3 {
    margin-bottom: 15px;
    color: #333;
}

.empty-compare p {
    margin-bottom: 25px;
    color: #666;
}

/* Products comparison animation */
@keyframes highlight {
    0% {
        background-color: rgba(255, 235, 59, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

.newly-added {
    animation: highlight 2s ease;
}

/* Policy page styling */
.policy-section {
    padding: 40px 0;
}

.policy-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.policy-content h3 {
    color: #444;
    margin: 25px 0 15px;
    font-weight: 600;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.policy-content a {
    color: #ff4c3b;
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
} 