/* Product Page Styles */

.breadcrumb {
    background: #f8f9fa;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-link {
    color: #1BB5E5;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: #0EA5D3;
}

.breadcrumb-separator {
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Product Details */
.product-details {
    padding: 60px 0;
    background: white;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Image Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumbnail.active {
    border-color: #1BB5E5;
    transform: scale(1.05);
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding-top: 20px;
}

.product-badge {
    background: #1BB5E5;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.product-specs {
    margin-bottom: 24px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #666;
    text-align: right;
}

.spec-link {
    color: #1BB5E5;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.spec-link:hover {
    color: #0EA5D3;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 32px;
}

.availability-btn {
    background-color: #74eeb8;
    color: #333333;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
}

.availability-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

/* Service Features */
.service-features {
    background: #e3f2fd;
    padding: 32px 0;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #333;
}

.feature-icon {
    color: #1BB5E5;
    font-weight: bold;
    font-size: 18px;
}

/* Battery Section */
.battery-section {
    padding: 80px 0;
    background: white;
}

.battery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.battery-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.2;
}

.battery-specs {
    display: grid;
    gap: 20px;
}

.battery-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.battery-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.battery-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Specifications */
.specifications {
    padding: 80px 0;
    background: #f8f9fa;
}

.specifications h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.spec-category {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.spec-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1BB5E5;
}

.spec-list {
    display: grid;
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.spec-name {
    font-weight: 600;
    color: #333;
    min-width: 120px;
}

.spec-detail {
    color: #666;
    text-align: right;
    flex: 1;
}

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

    .product-gallery {
        position: static;
    }

    .battery-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-list {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .product-details {
        padding: 40px 0;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-nav.prev {
        left: 10px;
    }

    .gallery-nav.next {
        right: 10px;
    }

    .features-list {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .battery-text h2 {
        font-size: 2rem;
    }

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

    .spec-category {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .product-info h1 {
        font-size: 1.75rem;
    }

    .breadcrumb-nav {
        font-size: 12px;
    }

    .spec-item {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .spec-detail {
        text-align: left;
    }

    .availability-btn {
        padding: 14px 24px;
        font-size: 14px;
    }
}
