/* Product Detail Page Styles */

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

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

.breadcrumbs span {
    color: var(--text-color);
    font-weight: 500;
}

/* Product Detail Layout */
.product-detail {
    padding: 3rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.product-main-image {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.product-main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background-color: white;
}

.placeholder-image.large {
    height: 400px;
    font-size: 5rem;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 0.25rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

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

/* Product Info */
.product-info-detail h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-description {
    margin: 1.5rem 0;
    line-height: 1.7;
}

/* Product Attributes */
.product-attributes {
    margin: 2rem 0;
}

.attribute-group {
    margin-bottom: 1.5rem;
}

.attribute-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.attribute-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.attribute-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    background-color: white;
    font-size: 1rem;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option.selected {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Product Actions */
.product-actions-detail {
    margin: 2rem 0;
}

.btn-customize-large {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37,99,235,0.2);
}

.btn-customize-large i {
    margin-right: 0.5rem;
}

.btn-customize-large:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(37,99,235,0.25);
}

/* Customization Areas */
.customization-areas {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.customization-areas h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.customization-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.customization-list i.fa-check {
    color: var(--success-color);
    margin-top: 0.25rem;
}

.area-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.area-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.area-features {
    display: flex;
    gap: 1rem;
}

.feature {
    font-size: 0.85rem;
    background-color: var(--light-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
}

.feature i {
    margin-right: 0.35rem;
}

.no-customization {
    color: var(--text-light);
    font-style: italic;
}

/* Products Page Specific Styles */
.products-page {
    padding: 3rem 0;
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.products-header p {
    color: var(--text-light);
}

.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
}

.products-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
}

.sidebar-section h3 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.category-list a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.category-list a:hover, .category-list a.active {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

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

.no-products-found {
    text-align: center;
    padding: 3rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
}

.no-products-found i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-products-found h3 {
    margin-bottom: 0.75rem;
}

.no-products-found p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-list a {
        padding: 0.5rem 1rem;
        border: 1px solid var(--border-color);
        border-radius: 0.25rem;
    }
}

@media (max-width: 576px) {
    .product-main-image img,
    .placeholder-image.large {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-info-detail h1 {
        font-size: 1.5rem;
    }
}
