* {
    margin: 0;
    padding: 0;
}

.container-mobiles {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 80px 20px;
    justify-items: center;
}

@media screen and (min-width: 1024px) {
    .container-mobiles {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .container-mobiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .container-mobiles {
        grid-template-columns: 1fr;
    }
}

body {

    background-color: var(--white-color-diff-color);
    /* Blue background */
    font-family: Arial, sans-serif;
}

/* Card Container */
.card {
    background: var(--white-color-diff-color);
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    box-shadow: 0 4px 10px var(--dark-blue-color);
    padding: 16px;
    overflow: hidden;
    position: relative;
}

.card img {
    width: 100%;
    height: 300px;
    border-radius: 12px;
}

/* Product Info */
.card .info {
    margin-top: 10px;
}

.card h3 {
    font-size: 16px;
    font-weight: bold;
}

.card p {
    font-size: 16px;
    color: gray;
    margin: 6px 0;
}

.card .price {
    font-size: 22px;
    font-weight: bold;
    margin: 12px 0px;
}

/* Color Options */
.colors {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.color-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid white;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.color-dot.green {
    background-color: #3cb371;
}

.color-dot.blue {
    background-color: #61dafb;
}

.color-dot.pink {
    background-color: #ff69b4;
}

/* Add to Cart Button */
.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.button {
    background: black;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s ease;
}

.button:hover {
    background: #333;
}

/* ===== Brand Filter Bar ===== */
.mobile-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 20px 0;
    max-width: 1280px;
    margin: 0 auto;
}

.mobile-filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--dark-blue-color);
    border-radius: 50px;
    background: transparent;
    color: var(--dark-blue-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-filter-btn:hover {
    background: var(--dark-blue-color);
    color: var(--white-color);
}

.mobile-filter-btn.active {
    background: var(--dark-blue-color);
    color: var(--white-color);
}