/* Product Detail Widget - Redesigned Layout Styles */

/* Main Container */
.hep-pd {
    direction: rtl;
}

/* Header Section */
.hep-pd .text-gray-600 a:hover {
    color: #5A31F4 !important;
    transition: color 0.3s ease;
}

/* Main Content Layout */
.hep-pd .flex-col.lg\:flex-row {
    gap: 2rem;
}

/* Left Column - Seller Info & Add to Cart */
.hep-pd-sidebar-card {
    background: linear-gradient(135deg, #F0E6FA 0%, #E6D9F7 100%);
    border: 2px solid #bba6f7;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(187, 166, 247, 0.2);
    transition: all 0.3s ease;
    padding: 1.5rem;

}

.hep-pd-sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(187, 166, 247, 0.3);
}

/* Seller Info Sections */
.hep-pd-sidebar-card .text-[#a58cf7] {
    color: #8B5CF6 !important;
    font-weight: 700;
}

.hep-pd-sidebar-card .text-gray-800 {
    color: #1F2937 !important;
    font-weight: 600;
}

.hep-pd-sidebar-card .text-gray-400 {
    color: #9CA3AF !important;
}

/* Color Selection */
.hep-pd-sidebar-card .w-8.h-8 {
    transition: all 0.3s ease;
    border-width: 3px;
}

.hep-pd-sidebar-card .w-8.h-8:hover {
    transform: scale(1.1);
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

/* Price Section */
.hep-pd-discount-badge {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hep-pd-old-price {
    text-decoration: line-through;
    color: #9CA3AF !important;
}

.hep-pd-new-price {
    color: #111827 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Add to Cart Button */
.hep-pd-add-btn {
    background: linear-gradient(135deg, #7C3AED 0%, #5A31F4 100%) !important;
    color: #fff;
    width: 100%;
    padding-top: .7rem;
    border: none;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
    font-weight: 700;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    border-radius: 12px;
}
.woocommerce .quantity .qty {
    /* width: 3.631em; */
    text-align: center;
    width: 115%;
    background: transparent;
    border: 1px solid #ccc;
    margin: .6rem 0;
}
.hep-pd-add-btn:hover {
    background: linear-gradient(135deg, #5A31F4 0%, #4C1D95 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.6);
}

.hep-pd-add-btn:active {
    transform: translateY(0);
}

/* Middle Column - Product Details */
.hep-pd .text-gray-500 {
    color: #6B7280 !important;
}

.hep-pd .text-gray-800 {
    color: #1F2937 !important;
}

/* Badges */
.hep-pd .px-3.py-1\.5 {
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hep-pd .px-3.py-1\.5:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Product Title */
.hep-pd-title {
    color: #111827 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.3;
}

/* Features Section */
.hep-pd .bg-white.rounded-2xl {
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hep-pd .bg-white.rounded-2xl:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hep-pd-features li {
    color: #374151 !important;
    transition: color 0.3s ease;
}

.hep-pd-features li:hover {
    color: #5A31F4 !important;
}

/* Show More Button */
.hep-pd .bg-gray-100.text-\[#5A31F4\] {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%) !important;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.hep-pd .bg-gray-100.text-\[#5A31F4\]:hover {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%) !important;
    border-color: #5A31F4;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(90, 49, 244, 0.2);
}

/* Return Policy & FAQ */
.hep-pd .bg-gray-100.rounded-2xl {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%) !important;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.hep-pd .bg-gray-100.rounded-2xl:hover {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%) !important;
    transform: translateY(-1px);
}

.hep-pd .bg-white.border.border-gray-200 {
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hep-pd .bg-white.border.border-gray-200:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Right Column - Product Images */
.hep-pd .bg-white.rounded-\[32px\] {
    border: 2px solid #F3F4F6;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hep-pd .bg-white.rounded-\[32px\]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Thumbnails */
.hep-pd-thumbs {
    gap: 12px;
}

.hep-pd-thumb {
    transition: all 0.3s ease;
    border-width: 3px;
    cursor: pointer;
}

.hep-pd-thumb:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: #8B5CF6 !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.hep-pd-thumb.is-active {
    border-color: #5A31F4 !important;
    box-shadow: 0 0 0 4px rgba(90, 49, 244, 0.3), 0 8px 25px rgba(139, 92, 246, 0.4);
    transform: scale(1.1);
}

/* Long Description Section */
.hep-pd .bg-white.rounded-2xl.shadow {
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hep-pd .bg-white.rounded-2xl.shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hep-pd-long-desc {
    color: #374151 !important;
    line-height: 1.8;
}

.hep-pd-long-desc p {
    margin-bottom: 1rem;
}

.hep-pd-long-desc ul {
    margin: 1.5rem 0;
    padding-right: 1.5rem;
}

.hep-pd-long-desc li {
    margin-bottom: 0.5rem;
    color: #4B5563 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hep-pd .flex-col.lg\:flex-row {
        gap: 1.5rem;
    }
    
    .hep-pd-sidebar-card {
        border-radius: 24px;
        padding: 1.5rem;
    }
    
    .hep-pd .bg-white.rounded-\[32px\] {
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .hep-pd-sidebar-card {
        border-radius: 20px;
        padding: 1rem;
    }
    
    .hep-pd .bg-white.rounded-\[32px\] {
        border-radius: 20px;
    }
    
    .hep-pd-thumbs {
        gap: 8px;
    }
    
    .hep-pd-thumb {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Animation Classes */
.hep-pd * {
    transition: all 0.3s ease;
}

/* Focus States */
.hep-pd button:focus,
.hep-pd a:focus {
    outline: 2px solid #5A31F4;
    outline-offset: 2px;
}

/* Loading States */
.hep-pd-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Custom Scrollbar for Webkit */
.hep-pd-thumbs::-webkit-scrollbar {
    height: 6px;
}

.hep-pd-thumbs::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 3px;
}

.hep-pd-thumbs::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.hep-pd-thumbs::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
} 