/* Catalog Page Styles */

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.15);
}

/* Image Container - Fixed Height */
.product-image-wrapper {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f0f9ff, #dbeafe);
    overflow: hidden;
}

/* Single Image */
.product-single-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-single-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Placeholder Without Image */
.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 3rem;
}

/* Carousel */
.product-carousel {
    position: relative;
    height: 250px;
}

.product-carousel .carousel-inner {
    height: 100%;
}

.product-carousel .carousel-item {
    height: 100%;
}

.product-carousel .carousel-item-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-carousel .carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Carousel Controls */
.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 64, 175, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .carousel-control-prev,
.product-card:hover .carousel-control-next {
    opacity: 1;
}

.product-carousel .carousel-control-prev {
    left: 10px;
}

.product-carousel .carousel-control-next {
    right: 10px;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

/* Carousel Indicators */
.product-carousel .carousel-indicators {
    margin-bottom: 10px;
}

.product-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(30, 64, 175, 0.4);
    border: none;
    margin: 0 3px;
}

.product-carousel .carousel-indicators button.active {
    background-color: #1e40af;
}

/* Product Body */
.product-body {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.product-specs {
    font-size: 0.9rem;
    color: #6b7280;
    white-space: pre-line;
}

/* Brand Filter */
.brand-filter .btn {
    border-radius: 20px;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.brand-filter .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.brand-filter .btn.active {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.brand-filter .btn-outline-primary:hover,
.brand-filter .btn-outline-success:hover,
.brand-filter .btn-outline-warning:hover {
    color: white;
}

.brand-filter .btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.brand-filter .btn-outline-success:hover {
    background-color: #198754;
    border-color: #198754;
}

.brand-filter .btn-outline-warning:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* Catalog Hero */
.catalog-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    padding: 2rem 0;
    margin-top: 76px;
}
