﻿body {
    color: #ddd;
    font-family: 'Segoe UI', sans-serif;
    width: 100%;
    background: url('/uploads/blob-scene-haikei.svg') center/cover no-repeat;
    position: relative;
    z-index: 2;
}



.page-title {
    color: #fff;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
}

.product-card {
    background: #1a1a1a;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #2e2e2e;
    transition: .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
}

    .product-card:hover {
        transform: translateY(-8px);
    }

.product-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid #333;
    position: relative;
}

.badge-top {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 60, 60, 0.9);
    color: #fff;
    padding: 4px 10px;
    font-size: .75rem;
    border-radius: 6px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    z-index: 10;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffb74d;
    color: #1a1a1a;
    font-size: .75rem;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 20;
    text-align: center;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.product-body {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
}

.product-desc {
    color: #999;
    font-size: .85rem;
    margin-bottom: 12px;
}

.price-box {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.price {
    font-weight: 700;
}


.old-price {
    text-decoration: line-through;
    color: #777;
    font-size: 1rem;
}

.btn-buy {
    background: #e63939;
    color: #fff;
    border: none;
    margin-top: 14px;
    padding: 5px 0;
    width: 100%;
    border-radius: 9px;
    font-weight: 700;
    transition: .25s;
}

    .btn-buy:hover {
        background: #ff4b4b;
    }



.discount-label {
    background: #ffb74d;
    color: #111;
    font-size: .7rem;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.product-img {
    transition: .4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.07);
    filter: brightness(1.1);
}

.btn-details {
    background: rgba(255,255,255,0.05);
    border: 1px solid #444;
    transition: .25s;
}

    .btn-details:hover {
        background: rgba(255,255,255,0.12);
        border-color: #666;
    }

.pagination .page-item .page-link {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    margin: 0px 5px;
}

    .pagination .page-item .page-link:hover {
        background: #ff3b3b;
        border-color: #ff3b3b;
    }

.pagination .page-item.active > .page-link {
    background: #e63939;
    border-color: #e63939;
    border-radius: 10px;
    margin: 0px 5px;
}
