

/* ========== Top Bar ========== */
.top-bar {
    background: var(--light-bg);
    padding: 16px 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav .current {
    color: var(--primary-dark-color);
    font-weight: 600;
}
/* ========== End of Top Bar Styles ========== */

/* ========== Product Hero ========== */
.product-hero {
    padding: 40px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}
/* ========== End of Product Hero Styles ========== */

/* ========== Image Gallery ========== */
.gallery-wrapper {
    position: sticky;
    top: 80px;
}

.main-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

.status-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-image-wrapper img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark-color);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.thumb-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ========== End of Image Gallery Styles ========== */

/* ========== Product Info ========== */
.product-info {
    padding-top: 20px;
}

.category-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EBF2FF;
    color: var(--primary-dark-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-name {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.product-tagline {
    margin-bottom: 32px;
    line-height: 1.6;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tag-pill {
    background: var(--light-bg);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tag-pill:hover {
    background: var(--primary-color);
    color: var(--color-white);
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-blue {
    background: var(--primary-dark-color);
    color: white;
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.btn-blue:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 94, 255, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Tabbed Content Section */
.tabbed-section {
    padding: 20px 0;
}

.tab-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-navigation::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid var(--border);
    animation: fadeIn 0.4s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    font-weight: 700;
    margin-bottom: 24px;
}

.tab-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Video Container */
.video-wrapper {
    border-radius: 24px;
    overflow: hidden;
    margin-top: 32px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-wrapper {
        position: relative;
        top: 0;
    }

    .product-name {
        font-size: 2.5rem;
    }

    /* .features-grid {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-label {
        border-bottom: 1px solid var(--border);
    } */

    .thumbnail-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .product-name {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .tab-content {
        padding: 30px 24px;
    }

    .thumbnail-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}