/* Product Detail Page */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    height: 80px;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.product-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.price-section {
    margin-bottom: 2rem;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 1rem;
}

.savings {
    color: var(--success);
    font-weight: 600;
    margin-top: 0.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-features {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

/* Tabs */
.tabs {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.tab-buttons {
    display: flex;
    gap: 2rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    color: var(--text-light);
}

.tab-button.active {
    color: var(--primary);
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Reviews */
.review-item {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* Filters */
.filters-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
}
