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

/* Breadcrumb */
.breadcrumb {
    padding: 100px 0 20px;
    background-color: var(--bg-light);
}

.breadcrumb a {
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 0.5rem;
}

.breadcrumb span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* Product Hero */
.product-hero {
    padding: 2rem 0 var(--spacing-2xl);
    background-color: var(--bg-light);
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

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

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

/* Product Info */
.product-info {
    background-color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.product-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.product-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

/* Quick Specs */
.quick-specs {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.quick-spec {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-spec i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quick-spec div {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    flex: 1;
}

.product-actions .btn i {
    margin-right: 0.5rem;
}

/* Key Features */
.key-features {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-white);
}

.features-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-box {
    background-color: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-box .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Technical Specifications */
.technical-specs {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-light);
}

.specs-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-medium);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.specs-content {
    background-color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specs-table {
    display: grid;
    gap: 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.spec-row:hover {
    background-color: var(--bg-light);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row .spec-label {
    color: var(--text-medium);
    font-weight: 500;
}

.spec-row .spec-value {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

/* Applications */
.applications {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-white);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.application-card {
    background-color: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.application-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.application-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Advantages */
.advantages {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.advantage-item {
    background-color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.advantage-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.advantage-text p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Package Content */
.package-content {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-white);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

.package-column {
    background-color: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.package-column h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-column h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.package-list {
    list-style: none;
}

.package-list li {
    padding: 0.75rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.package-list li:last-child {
    border-bottom: none;
}

.package-list i {
    color: #10b981;
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .product-images {
        position: static;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 90px 0 15px;
    }

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

    .product-subtitle {
        font-size: 1.125rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .specs-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .spec-row .spec-value {
        text-align: left;
        font-size: 1.125rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-info {
        padding: 1.25rem;
    }

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

    .quick-spec {
        gap: 0.75rem;
    }

    .quick-spec i {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .spec-value {
        font-size: 1.125rem;
    }

    .thumbnail-images {
        gap: 0.5rem;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .features-grid-detail {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .package-column {
        padding: 1.25rem;
    }

    .advantage-number {
        font-size: 2.5rem;
    }
}