.prodcards-section {
    margin-bottom: 50px;
    padding: 0 15px;
}

.prodcards-header {
    display: flex;
	flex-direction:row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.prodcards-section-title {
    text-align: left;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 0;
	width:unset!important;
}

.prodcards-categories {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
    padding-right: 15px;
	width:50%;
}

.prodcards-categories::-webkit-scrollbar {
    display: none;
}

.prodcards-category {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 20px;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.prodcards-category:hover {
    color: #E31E24;
}

.prodcards-category.active {
    color: #fff;
    background-color: #E31E24;
}

.prodcards-grid {
    display: grid;
    gap: 15px;
    margin: 0 auto;
}

/* Responsive grid columns */
.prodcards-grid[data-columns="1"] { grid-template-columns: repeat(1, 1fr); }
.prodcards-grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.prodcards-grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.prodcards-grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }
.prodcards-grid[data-columns="5"] { grid-template-columns: repeat(5, 1fr); }
.prodcards-grid[data-columns="6"] { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
    .prodcards-grid[data-columns="5"],
    .prodcards-grid[data-columns="6"] {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .prodcards-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .prodcards-categories {
        width: 100%;
        padding-right: 0;
    }
    
    .prodcards-item {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .prodcards-grid[data-columns="4"],
    .prodcards-grid[data-columns="5"],
    .prodcards-grid[data-columns="6"] {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .prodcards-section-title {
        font-size: 26px;
    }
    
    .prodcards-category {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .prodcards-content {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .prodcards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .prodcards-categories {
        gap: 15px;
    }
    
    .prodcards-title {
        font-size: 0.8em;
    }
    
    .prodcards-price {
        font-size: 14px;
    }
    
    .prodcards-content {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .prodcards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .prodcards-section-title {
        font-size: 22px;
    }
    
    .prodcards-content {
        padding: 8px 10px;
    }
    
    .prodcards-wishlist {
        top: 8px;
        right: 8px;
        width: 20px;
        height: 20px;
    }
    
    .prodcards-wishlist svg {
        width: 20px;
        height: 20px;
    }
}

.prodcards-item {
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.prodcards-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prodcards-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.prodcards-wishlist svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #666;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.prodcards-wishlist:hover svg {
    stroke: #E31E24;
}

.prodcards-wishlist.active svg {
    fill: #E31E24;
    stroke: #E31E24;
}

.prodcards-image-link {
    display: block;
    position: relative;
    padding-top: 100%;
    background: #f8f8f8;
}

.prodcards-image-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Add a placeholder background for when images are missing */
.prodcards-image-link img[src=""], 
.prodcards-image-link img:not([src]) {
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px;
}

.prodcards-content {
    padding: 12px 15px;
    text-align: left;
}

.prodcards-title {
    line-height: 1.3;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    font-size: 0.85em;
    font-weight: normal;
}

.prodcards-title a {
    color: #333;
    text-decoration: none;
}

.prodcards-price {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.prodcards-price del {
    color: #666;
    margin-right: 5px;
    font-weight: normal;
}

.prodcards-price ins {
    text-decoration: none;
    color: #E31E24;
}

.prodcards-view-all {
    text-align: center;
    margin-top: 40px;
}

.prodcards-view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.prodcards-view-all-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-left: 5px;
}

.prodcards-view-all-button:hover {
    background-color: #f5f5f5;
}

.prodcards-no-products {
    text-align: center;
    grid-column: 1 / -1;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 12px;
    color: #666;
}

.prodcards-loading {
    text-align: center;
    grid-column: 1 / -1;
    padding: 30px;
    color: #666;
} 