/* Shop Layout Styles */
.shop-layout {
    padding: 2rem 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    padding: 1rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

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

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

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--gray-400);
}

.breadcrumb .current {
    color: var(--gray-900);
    font-weight: 500;
}

/* Category Hero Styles */
.category-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
}

/* Filters Sidebar Styles */
.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.filter-option input {
    margin-right: 0.75rem;
}

.filter-option span {
    color: var(--gray-700);
}

/* Price Slider Styles */
.price-slider {
    margin-top: 1rem;
}

.price-slider input[type="range"] {
    width: 100%;
    margin-bottom: 1rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

/* Featured Bundle Styles */
.featured-bundle {
    background: var(--primary-50);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.bundle-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-900);
}

.bundle-items {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.bundle-items li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.bundle-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-600);
}

.bundle-price {
    margin: 1.5rem 0;
}

.bundle-price .original {
    text-decoration: line-through;
    color: var(--gray-500);
    margin-right: 1rem;
}

.bundle-price .discounted {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-700);
}

.bundle-cta {
    background: var(--primary-600);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bundle-cta:hover {
    background: var(--primary-700);
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.15);
}

.product-image {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-add {
    flex: 1;
    background: var(--primary-600);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

.view-details {
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

/* Newsletter CTA Styles */
.newsletter-cta {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--primary-600);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-form button:hover {
    background: var(--primary-700);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s;
    }
    
    .filters.active {
        transform: translateY(0);
    }
    
    .featured-bundle {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}