/* Catalog/Product Page Styles */
.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #F1C5D6;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(241, 197, 214, 0.3);
    border: 2px solid rgba(241, 197, 214, 0.2);
}

.product-image-container {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

.image-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    touch-action: pan-y pinch-zoom;
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: white;
    display: block;
    flex-shrink: 0;
    padding: 15px;
}

.product-image[src*="placeholder.svg"] {
    object-fit: contain;
    padding: 20px;
    background: #f8f9fa;
}

.main-image {
    cursor: pointer;
}

/* Image indicators (dots) */
.image-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.indicator-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Navigation arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.product-price {
    font-size: 1.5em;
    font-weight: 700;
    color: #F1C5D6;
    margin-top: auto;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    color: #666;
}

.no-results h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #999;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2em;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}
