.category-header {
    border-bottom: 2px solid #f0e1e1;
    padding-bottom: 1rem;
}

/* Category Cards */
.category-card {
    display: block;
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    color: white;
    text-decoration: none;
}

.category-card.kids {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/media/Products/kids-category.jpg');
}

.category-card.mens {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/media/Products/mens-category.jpg');
}

.category-card.womens {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/media/Products/womens-category.jpg');
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

.category-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.category-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Product Preview Grid */
.product-preview {
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.preview-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-item:hover img {
    transform: scale(1.1);
}

.category-nav {
    display: flex;
    gap: 1rem;
}

.btn-orange {
    background-color: #ef6b3a;
    color: white;
}

.btn-outline-orange {
    border: 1px solid #ef6b3a;
    color: #ef6b3a;
}

.btn-outline-orange:hover {
    background-color: #ef6b3a;
    color: white;
}

.product-card { 
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-img { 
    height: 200px;
    object-fit: cover;
    background-color: #f8f8f8;
}

.product-img.placeholder { 
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    color: #666;
}

.product-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-card .price {
    color: #ef6b3a;
    font-size: 1.2rem;
    font-weight: bold;
}

.quantity-input {
    width: 80px !important;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
}
