/* Product Page Styles with Mobile Responsive */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fdfdfd;
}

:root {
    --primary-color: #0071bc;
    --border-radius: 12px;
}

.product-detail-container {
    padding: 20px var(--container-padding) 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    text-decoration: none;
    color: #999;
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 10px;
}

.breadcrumb span {
    color: var(--primary-color);
    font-weight: 600;
}

.product-hero {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    height: 400px;
    background: #f4f8fb;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #edf2f7;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.main-image:hover img {
    transform: scale(1.15);
}

.thumb-list {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumb {
    width: 75px;
    height: 75px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    transition: 0.3s;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.active {
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 113, 188, 0.4);
    transform: translateY(-2px);
}

.product-info {
    overflow: hidden;
}

.product-info h1 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    font-weight: 800;
}

.product-status {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.short-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.feature-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 45px;
    margin-top: 10px;
}

.fh-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

.fh-item i {
    color: var(--primary-color);
    width: 20px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
}

.btn-contact {
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    max-width: 100%;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-sizing: border-box;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-tabs {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 40px;
}

.tab-header {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px;
    gap: 10px;
}

.tab-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes swing {
    0% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(-15deg);
    }
}

.tab-btn[data-tab="tab-overview"] {
    background: #eef6ff;
    color: #0071bc;
}

.tab-btn[data-tab="tab-features"] {
    background: #fff9e6;
    color: #f39c12;
}

.tab-btn[data-tab="tab-specs"] {
    background: #f5eeff;
    color: #9b59b6;
}

.tab-btn[data-tab="tab-pricing"] {
    background: #fff2e6;
    color: #e67e22;
}

.tab-btn[data-tab="tab-docs"] {
    background: #e6fffa;
    color: #1abc9c;
}

.tab-btn[data-tab="tab-video"] {
    background: #fff5f5;
    color: #e74c3c;
}

.tab-btn[data-tab="tab-demo"] {
    background: #f0fff4;
    color: #2ecc71;
}

.tab-btn[data-tab="tab-cases"] {
    background: #f1f5f9;
    color: #34495e;
}

.tab-btn.active {
    transform: scale(1.05);
    background: var(--primary-color) !important;
    color: #fff !important;
}

.tab-btn.active i {
    animation: none !important;
    color: #fff !important;
}

.tab-content {
    padding: 40px;
    display: none;
    animation: fadeIn 0.4s ease;
    background: #fff;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feat-card {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #f9fbfc;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
}

.specs-table th,
.specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.specs-table th {
    width: 30%;
    font-weight: 700;
    background: #fdfdfd;
}

.case-card {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    background: #f9fbfc;
    margin-bottom: 15px;
}

.doc-menu-item {
    border: 1px solid #eee;
    border-radius: 8px;
    max-width: 400px;
    margin-top: 20px;
    background: #fff;
}

.doc-menu-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border: 5px solid #fff;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    .product-info h1 {
        font-size: 1.8rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .btn-contact,
    .btn-outline {
        width: auto;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        padding: 15px 15px 40px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .product-hero {
        padding: 20px;
        margin-bottom: 30px;
        gap: 25px;
    }

    .main-image {
        height: 280px;
    }

    .thumb {
        width: 60px;
        height: 60px;
    }

    .product-info h1 {
        font-size: 1.5rem;
    }

    .short-desc {
        font-size: 1rem;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }

    .fh-item {
        font-size: 13px;
    }

    .action-buttons {
        gap: 12px;
    }

    .btn-contact,
    .btn-outline {
        padding: 14px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-tabs {
        margin-top: 25px;
        border-radius: 10px;
    }

    .tab-header {
        padding: 10px;
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 8px;
    }

    .tab-content {
        padding: 25px 20px;
    }

    .tab-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feat-card {
        padding: 20px;
    }

    .specs-table th,
    .specs-table td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .specs-table th {
        width: 40%;
    }

    .case-card {
        padding: 15px;
    }

    .doc-menu-item {
        max-width: 100%;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 70%;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 10px 10px 30px;
    }

    .product-hero {
        padding: 15px;
    }

    .product-info {
        width: 100%;
        overflow: hidden;
    }

    .main-image {
        height: 220px;
    }

    .thumb {
        width: 50px;
        height: 50px;
    }

    .thumb.active {
        border-width: 3px;
    }

    .product-info h1 {
        font-size: 1.3rem;
    }

    .product-status {
        font-size: 12px;
        padding: 3px 10px;
    }

    .short-desc {
        font-size: 0.9rem;
    }

    .action-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .btn-contact,
    .btn-outline {
        padding: 12px 15px;
        font-size: 13px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
        text-align: center;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 11px;
        gap: 6px;
    }

    .tab-btn span {
        display: none;
    }

    .tab-btn i {
        font-size: 16px;
    }

    .tab-content {
        padding: 20px 15px;
    }

    .specs-table th {
        width: 45%;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
}