/* Product Page Specific Styles */

.product-hero {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 3rem 2rem 2rem;
    border-bottom: 2px solid var(--border-color);
}

.breadcrumb {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #b8b8d1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.product-detail {
    padding: 4rem 2rem;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.product-main {
    min-width: 0;
}

.product-gallery {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.product-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.product-description {
    color: var(--text-primary);
}

.product-description h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    color: var(--text-secondary);
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-list strong {
    color: var(--text-primary);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.map-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.map-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.map-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Sidebar Cards */
.product-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.purchase-card,
.specs-card,
.features-card,
.tags-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.purchase-card {
    background: var(--accent-gradient);
    border: none;
}

.price-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.purchase-card .price {
    display: block;
    font-size: 3rem;
    font-weight: 700;
}

.btn-block {
    width: 100%;
    text-align: center;
    background: white;
    color: #667eea;
}

.btn-block:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.specs-card h3,
.features-card h3,
.tags-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.specs-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.specs-list strong {
    color: var(--text-primary);
    display: inline-block;
    min-width: 140px;
}

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

.features-list li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-container .tag {
    background: rgba(102, 126, 234, 0.2);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Related Products */
.related-products {
    padding: 4rem 2rem;
    background: var(--darker-bg);
}

.related-products .price {
    font-size: 1.1rem;
}

.related-products h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        grid-template-columns: 1fr;
    }
}
