/* ============================================
   Product Page Styles
   ============================================ */

/* Product Hero */
.product-hero {
    padding: 140px 0 80px;
    background: var(--dark);
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.1), rgba(255, 0, 0, 0.05));
}

.product-image-placeholder svg {
    width: 60%;
    height: 60%;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding-top: 20px;
}

.product-badge-large {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.product-title-large {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Highlights */
.product-highlights {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: var(--radius-md);
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.highlight-icon.water {
    background: rgba(14, 165, 233, 0.1);
}

.highlight-icon.water svg {
    stroke: var(--accent-blue);
}

.highlight-text {
    display: flex;
    flex-direction: column;
}

.highlight-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.highlight-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.product-description-large {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Product Details Section */
.product-details {
    padding: var(--section-padding) 0;
    background: var(--dark-lighter);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.details-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.details-card.full-width {
    grid-column: span 2;
}

.details-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(255, 107, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.details-card-header svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.details-card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.details-card-body {
    padding: 24px;
}

/* Spec List */
.spec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label {
    font-size: 14px;
    color: var(--text-muted);
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Package List */
.package-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.package-list li svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.application-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.application-item:hover {
    background: rgba(255, 107, 0, 0.05);
}

.application-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
}

.application-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.application-icon.emergency { background: rgba(255, 0, 0, 0.1); }
.application-icon.emergency svg { stroke: #ff0000; }

.application-icon.rescue { background: rgba(255, 204, 0, 0.1); }
.application-icon.rescue svg { stroke: #ffcc00; }

.application-icon.military { background: rgba(34, 197, 94, 0.1); }
.application-icon.military svg { stroke: #22c55e; }

.application-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.application-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Related Products */
.related-products {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.related-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-highlights {
        flex-wrap: wrap;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-card.full-width {
        grid-column: span 1;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 120px 0 60px;
    }

    .product-highlights {
        flex-direction: column;
        gap: 16px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
