/* Others Products Special Styling */

/* Different styling for others products cards */
.others-product-card {
    border: 2px solid #e5e7eb;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.others-product-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
    transform: translateY(-3px);
}

/* Special category section styling for others products */
.others-category {
    background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #d8b4fe;
    margin: 1.5rem 0;
}

.others-category h2 {
    color: #6b21a8;
}

.others-category .bg-green-100 {
    background: linear-gradient(135deg, #ddd6fe, #e4d4f4) !important;
    color: #6b21a8 !important;
}

/* Different badge styling for others products */
.others-product-card .bg-purple-500 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

.others-product-card .bg-purple-100 {
    background: linear-gradient(135deg, #ddd6fe, #e4d4f4) !important;
    color: #6b21a8 !important;
}

/* Enhanced product name styling for others products */
.others-product-card h3 {
    color: #1f2937;
    font-weight: 600;
    line-height: 1.4;
}

.others-product-card h3:hover {
    color: #7c3aed;
}

/* Special price styling for others products */
.others-product-card .price-info {
    background: linear-gradient(135deg, #f3e8ff, #faf5ff);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #c4b5fd;
}

.others-product-card .text-purple-600 {
    color: #7c3aed !important;
    font-weight: 700;
}

/* Different button styling for others products */
.others-product-card .bg-gradient-to-r {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.others-product-card .bg-gradient-to-r:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    transform: scale(1.05);
}

/* Old styling kept for backward compatibility */
.other-product-card {
    border: 2px solid #e5e7eb;
    background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.other-product-card:hover {
    border-color: #059669;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.1);
    transform: translateY(-2px);
}

/* Different badge styling for others products */
.other-product-card .bg-red-500 {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.other-product-card .bg-yellow-500 {
    background: linear-gradient(135deg, #eab308, #ca8a04) !important;
}

/* Enhanced product name styling for others products */
.other-product-card h3 {
    color: #1f2937;
    font-weight: 600;
    line-height: 1.4;
}

/* Special price styling for others products */
.other-product-card .price-container {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #22c55e;
}

.other-product-card .text-sylflora-green {
    color: #059669 !important;
    font-weight: 700;
}

/* Different button styling for others products */
.other-product-card .add-to-cart-btn {
    background: linear-gradient(135deg, #059669, #047857);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.other-product-card .add-to-cart-btn:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
    transform: translateY(-1px);
}

/* Special variant options styling */
.other-product-card .variant-options {
    background: #f3f4f6;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin: 0.5rem 0;
}

.other-product-card .variant-options span {
    background: #ffffff;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.other-product-card .variant-options span:hover {
    border-color: #059669;
    background: #dcfce7;
}

/* Section header styling for others products */
.other-products-section h2 {
    position: relative;
}

.other-products-section h2:before {
    content: '🛍️';
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.other-products-section h2:after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, #059669, #22c55e);
    border-radius: 1px;
}

/* Brand badge styling */
.other-product-card .bg-blue-100 {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
    border: 1px solid #60a5fa;
}

.other-product-card .text-blue-800 {
    color: #1e40af !important;
    font-weight: 600;
}

/* Stock out styling for others products */
.other-product-card.opacity-75 {
    background: linear-gradient(145deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #d1d5db;
}

.other-product-card.opacity-75 .bg-gray-600 {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .other-product-card {
        width: 11rem !important; /* Slightly smaller on mobile */
    }
    
    .other-product-card .price-container {
        padding: 0.375rem;
    }
    
    .other-product-card h3 {
        font-size: 0.875rem;
    }
}

/* Animation for card loading */
@keyframes othersCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.other-product-card {
    animation: othersCardFadeIn 0.5s ease-out;
}

/* Hover effects for images in others products */
.other-product-card img {
    transition: all 0.3s ease;
}

.other-product-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Loading state for others products */
.other-product-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Perfume Products Special Styling to differentiate from Others */
.product-card:not(.other-product-card) {
    background: linear-gradient(145deg, #fefefe 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

.product-card:not(.other-product-card):hover {
    border-color: #6366f1;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

/* Section header styling for perfume categories */
.category-section:not(.other-products-section) h2:before {
    content: '';
    margin-right: 0;
    font-size: 1em;
}

.category-section:not(.other-products-section) h2:after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 1px;
}
