/* ── Buttons ── */
.btn-outline-pink { border-color: #ff69b4; color: #ff69b4; }
.btn-outline-pink:hover { background: #ff69b4; color: #fff; }
.btn-pink { background: #ff69b4; color: #fff; border: none; }
.btn-pink:hover { background: #ff1493; }
.bg-pink { background-color: #ff69b4 !important; }
.text-pink { color: #ff69b4 !important; }

/* ── Generic card rounding ── */
.card { border-radius: 12px; }

/* ── Category Cards (Home page) ── */
.category-card {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    padding-bottom: 100%;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}
.category-card .card-body {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-title {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ── Product cards ── */
.product-card { border-left: 5px solid #ff69b4; }
.product-card.cat-phones { border-left-color: #007bff; }
.product-card.cat-phone-accessories { border-left-color: #ff69b4; }
.product-card.cat-clothing { border-left-color: #ffc107; }
.product-card.cat-clothing-accessories { border-left-color: #ff69b4; }

/* ── Mobile adjustments ── */
@media (max-width: 576px) {
    .category-card {
        padding-bottom: 75%; /* smaller on phones */
    }
    .cat-title {
        padding: 6px 12px;
    }
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}