/* Product Hero Section */
.product-hero {
    min-height: 400px;
    padding-top: 80px; /* Account for fixed header */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}


.product-hero-bg, .product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: url("/Company-website/images/Background-img/hero-bg.png");
    height: 100%;
}

.shop-hero-content, .product-hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 10;
    margin-top: 20px; /* Added spacing from header */
}

.product-hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
}

.product-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    font-weight: 300;
}


/* Button Fixes */
.btn-outline, .btn-solid {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(230, 184, 0, 0.1);
}

.btn-solid {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
}

.btn-solid:hover {
    box-shadow: 0 8px 25px var(--shadow-light);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-primary);
}

.breadcrumbs .separator {
    margin: 0 5px;
}



/* Product Details Specific Styles */
.product-detail {
    display: flex;
    gap: 40px;
    margin: 30px 0 60px;
    flex-wrap: wrap;
}

.product-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    min-width: 300px;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--accent-primary);
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-primary);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 20px 0;
}

.product-price .original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.4rem;
    margin-right: 10px;
}

.product-price .sale {
    color: #4dff59;
}

.stock-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.stock-status.in-stock {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.stock-status.out-of-stock {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.product-description {
    margin: 40px 0;
    line-height: 1.8;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.specs-table tr {
    border-bottom: 1px solid var(--glass-border);
}

.specs-table th {
    text-align: left;
    padding: 15px 0;
    width: 30%;
    color: var(--text-muted);
    font-weight: 500;
}

.specs-table td {
    padding: 15px 0;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.documents-list a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.documents-list a:hover {
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-primary);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--accent-primary);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-container {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .thumbnail {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 20px auto;
        padding: 20px;
    }



}