/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--main-color), var(--link-hover-color));
    padding: 80px 0 60px;
    margin-bottom: 0;
}

    .page-header h1 {
        color: var(--white-color);
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

    

    

/* Product Gallery */
.product-gallery {
    position: relative;
}

.main-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

    .main-image-wrapper img {
        width: 100%;
        height: auto;
        transition: all 0.3s ease;
    }

.product-badge-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--yellow-color);
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail-gallery {
    margin-top: 15px;
}

.thumbnail-img {
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    height: 100px;
    object-fit: cover;
}

    .thumbnail-img:hover {
        border-color: var(--main-color);
        transform: scale(1.05);
    }

    .thumbnail-img.active {
        border-color: var(--main-color);
        box-shadow: 0 0 15px rgba(98, 196, 74, 0.4);
    }

/* Product Detail Info */
.product-detail-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.product-meta .badge {
    font-size: 0.9rem;
    padding: 8px 15px;
}

.product-description h5,
.product-features h5,
.package-options h5,
.usage-info h5,
.share-section h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
}

.product-description p {
    color: var(--gray-color);
    line-height: 1.8;
    text-align: justify;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
}

    .features-list li {
        padding: 10px 0;
        color: var(--gray-color);
        font-size: 1rem;
    }

        .features-list li i {
            margin-right: 10px;
            font-size: 1.1rem;
        }

/* Package Badges */
.package-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.package-badge-detail {
    display: inline-block;
    padding: 10px 20px;
    background: var(--light-gray);
    color: var(--gray-color);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

    .package-badge-detail:hover {
        background: var(--main-color);
        color: var(--white-color);
        border-color: var(--main-color);
        transform: translateY(-2px);
    }

    .package-badge-detail.special {
        background: linear-gradient(135deg, var(--yellow-color), #ff9800);
        color: var(--white-color);
        border-color: var(--yellow-color);
    }

        .package-badge-detail.special:hover {
            background: linear-gradient(135deg, #ff9800, #f57c00);
        }

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

    .share-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .share-btn.facebook {
        background: #1877f2;
    }

    .share-btn.twitter {
        background: #1da1f2;
    }

    .share-btn.whatsapp {
        background: #25d366;
    }

    .share-btn.linkedin {
        background: #0077b5;
    }

    .share-btn.pinterest {
        background: #e60023;
    }

/* Product Tabs */
.product-tabs {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

    .product-tabs .nav-tabs {
        border-bottom: 3px solid var(--main-color);
    }

    .product-tabs .nav-link {
        color: var(--gray-color);
        font-weight: 500;
        padding: 15px 25px;
        border: none;
        transition: all 0.3s ease;
    }

        .product-tabs .nav-link:hover {
            color: var(--main-color);
            background: var(--light-gray);
        }

        .product-tabs .nav-link.active {
            color: var(--white-color);
            background: var(--main-color);
            border: none;
        }

.tab-content-wrapper {
    padding: 30px;
}

    .tab-content-wrapper h4 {
        color: var(--dark-color);
        font-weight: 600;
        margin-bottom: 20px;
    }

    .tab-content-wrapper h5 {
        color: var(--main-color);
        font-weight: 600;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .tab-content-wrapper p {
        color: var(--gray-color);
        line-height: 1.8;
    }

    .tab-content-wrapper ul {
        color: var(--gray-color);
        line-height: 2;
    }

    .tab-content-wrapper .table {
        margin-top: 20px;
    }

        .tab-content-wrapper .table td {
            padding: 12px;
            vertical-align: middle;
        }

/* Responsive Design */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-detail-info {
        margin-top: 30px;
    }

    .thumbnail-img {
        height: 80px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 60px 0 40px;
    }

        .page-header h1 {
            font-size: 2rem;
        }

    .product-title {
        font-size: 1.8rem;
    }

    .product-detail-info {
        padding: 20px;
    }

    .package-badge-detail {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .product-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .tab-content-wrapper {
        padding: 20px;
    }

    .thumbnail-img {
        height: 70px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-detail-info,
.product-gallery {
    animation: fadeIn 0.6s ease-out;
}
