body {
    background: #f5f5f5;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .08);
    transition: .3s;

    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #fff;
    padding: 10px;
}

.badge-custom {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
}

.badge-new {
    background: #198754;
    color: white;
}

.badge-bestseller {
    background: #dc3545;
    color: white;
}

.badge-popular {
    background: #0d6efd;
    color: white;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-bottom {
    margin-top: auto;
}

.product-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    font-size: 14px;
}

.product-title {
    font-size: 18px;
    line-height: 1.3;
    min-height: 45px;
}

.specs {
    font-size: 13px;
    color: #666;
}

.pagination {
    justify-content: center;
}

.form-select-sm {
    border-radius: 20px;
    padding-left: 15px;
    padding-right: 35px;
    min-width: 160px;
}

.list-group-item {
    border: none;
    padding: 12px 15px;
    border-radius: 10px !important;
    margin-bottom: 5px;
}

.list-group-item.active {
    background: #212529;
    border-color: #212529;
}

.list-group-item:hover {
    background: #f5f5f5;
}

footer {
    background: #111827;
}

footer a {
    color: #d1d5db;
    transition: 0.3s;
}

footer a:hover {
    color: #ffc107;
    text-decoration: none;
}

footer h4,
footer h5 {
    color: #fff;
}

footer p,
footer li,
footer small {
    color: #adb5bd;
}

footer hr {
    opacity: .2;
}


/* Product Image Gallery */

.product-main-image {
    width: 100%;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: opacity 0.2s ease;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-thumbnail {
    width: 90px;
    height: 90px;
    padding: 3px;
    border: 2px solid transparent;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: 0.2s ease;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnail:hover {
    border-color: #999;
}

.product-thumbnail.active {
    border-color: #0d6efd;
}

@media (max-width: 768px) {

    .product-main-image {
        height: 350px;
    }

    .product-thumbnail {
        width: 75px;
        height: 75px;
    }

}



