/* ===============================================
   MODERN PRODUCT DETAILS PAGE - CLEAN DESIGN
   =============================================== */

.product-details-page {
    min-height: 100vh;
    padding: 100px 0 60px;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 0 0 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #8B5CF6;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #A78BFA;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Product Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Left Column - Image */
.product-image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-image-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    aspect-ratio: 1 / 1;
}

.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: #8B5CF6;
}

/* Share Card */
.share-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
}

.share-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #8B5CF6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #8B5CF6;
    color: #fff;
    transform: translateY(-2px);
}

/* Right Column - Info */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: #A78BFA;
    text-decoration: none;
    font-size: 0.9rem;
    width: fit-content;
    transition: all 0.3s;
}

.category-badge:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.product-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F59E0B;
}

.price-current.sale {
    color: #10B981;
}

.sale-badge {
    padding: 6px 12px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.vat-notice {
    margin-top: 12px;
    padding: 10px;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #8B5CF6;
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Stock Status */
.stock-status {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.status-badge.in-stock {
    color: #10B981;
}

.status-badge.out-stock {
    color: #EF4444;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-icon {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: #fff;
    flex: 1;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #fff;
    flex: 1;
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.3);
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Product Details Tabs */
.product-details-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
}

.details-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
}

.tab-btn.active {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    color: #8B5CF6;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.tab-content p,
.tab-content div {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
    border-left: 3px solid #8B5CF6;
}

.features-list i {
    color: #10B981;
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Delivery Info */
.delivery-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.delivery-card {
    padding: 20px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    text-align: center;
}

.delivery-card i {
    font-size: 2.5rem;
    color: #8B5CF6;
    margin-bottom: 10px;
}

.delivery-card h4 {
    color: #fff;
    margin: 10px 0 5px;
}

.delivery-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Related Products */
.related-products-section {
    margin-top: 60px;
}

.section-title-large {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.related-products-scroll {
    overflow-x: auto;
    padding-bottom: 20px;
}

.products-scroll-container {
    display: flex;
    gap: 20px;
}

.related-product-card {
    flex: 0 0 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
}

.related-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
}

.related-product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1 / 1;
}

.related-product-icon {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    font-size: 4rem;
    color: #8B5CF6;
}

.related-product-content {
    padding: 20px;
}

.related-product-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.related-product-price {
    color: #F59E0B;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 10px 0;
}

.related-product-btn {
    width: 100%;
    padding: 10px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.related-product-btn:hover {
    background: #8B5CF6;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    padding: 15px 20px;
    background: #1a1f3a;
    border-left: 4px solid #8B5CF6;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    border-left-color: #10B981;
}

.toast.error {
    border-left-color: #EF4444;
}

.toast-icon {
    font-size: 1.2rem;
}

.toast.success .toast-icon {
    color: #10B981;
}

.toast.error .toast-icon {
    color: #EF4444;
}

.toast span {
    flex: 1;
    color: #fff;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.toast-close:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image-card {
        min-height: 350px;
    }

    .product-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-details-page {
        padding: 80px 0 40px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .price-current {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .details-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .delivery-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-product-card {
        flex: 0 0 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .product-image-card {
        min-height: 280px;
        padding: 20px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-current {
        font-size: 1.8rem;
    }

    .delivery-info {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .toast-container {
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
    }
}

