.brands-dev-hero {
    background-image: linear-gradient(rgba(20, 24, 28, 0.45), rgba(20, 24, 28, 0.45)), url("https://www.ninja-vapes.co.uk/assets/uploads/vape-brands-2045.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3.5rem 1rem 6.5rem;
    text-align: center;
    color: #fff;
}

.brands-dev-hero h1 {
    font-weight: 700;
    font-size: 2.15rem;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: #fff;
}

.brands-dev-hero p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
}

.container.brands-dev-wrap {
    width: 100%;
    max-width: 1150px;
    margin-top: -3.75rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.brands-dev-panel {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
    padding: 1.75rem 1rem 1.5rem;
}

.brands-dev-panel .brands-dev-search {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: stretch;
}

.brands-dev-panel .brands-dev-search input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    border: 1px solid #d5dbe3;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    padding: 0 1.1rem;
    font-size: 1.05rem;
    color: #1a1a1a;
    background: #fff;
    box-shadow: none;
}

.brands-dev-panel .brands-dev-search input:focus {
    outline: none;
    border-color: #1f9d55;
    box-shadow: none;
}

.brands-dev-panel .brands-dev-search button {
    flex: 0 0 64px;
    width: 64px;
    height: 56px;
    min-height: 56px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: #1f9d55;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brands-dev-toolbar {
    display: flex;
    align-items: flex-end;
    margin: 0 0 18px;
}

.brands-dev-popular {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    border-bottom: 3px solid #1f9d55;
    padding: 0 0 6px;
    line-height: 1.2;
}

.brands-dev-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.brands-dev-more {
    margin-top: 1.25rem;
}

.brands-dev-card {
    border: 1px solid #e7eeea;
    border-radius: 14px;
    padding: 14px 14px 16px;
    background: #f7faf8;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brands-dev-tint-0 { --blob: #d4e8f6; }
.brands-dev-tint-1 { --blob: #eadcf4; }
.brands-dev-tint-2 { --blob: #d7f0e3; }
.brands-dev-tint-3 { --blob: #d5eee4; }

.brands-dev-media {
    position: relative;
    height: 132px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.brands-dev-media img,
.brands-dev-letter {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex: 0 0 120px;
    box-shadow: rgba(0, 0, 0, 0.10) 0px 1px 4px;
}

.brands-dev-media img {
    object-fit: contain;
    background: #fff;
    padding: 3px;
}

.brands-dev-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.brands-dev-tint-0 .brands-dev-letter {
    background: #cfe2ff;
    color: #0a58ca;
}

.brands-dev-tint-1 .brands-dev-letter {
    background: #d1e7dd;
    color: #146c43;
}

.brands-dev-tint-2 .brands-dev-letter {
    background: #fff3cd;
    color: #997404;
}

.brands-dev-tint-3 .brands-dev-letter {
    background: #f8d7da;
    color: #b02a37;
}

.brands-dev-card h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 2px;
    color: #1a1a1a;
}

.brands-dev-count {
    color: #8b9199;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.brands-dev-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e7f6ee;
    color: #1a9b4e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    padding: 5px 10px 5px 8px;
    margin: 0 0 14px;
}

.brands-dev-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1f9d55;
    display: inline-block;
    flex: 0 0 7px;
}

.brands-dev-shop {
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
    color: #1a8f4e !important;
    border: 2px solid #1f9d55;
    border-radius: 8px;
    padding: 9px 10px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    background: #fff;
}

.brands-dev-panel a.brands-dev-shop:hover,
.brands-dev-panel a.brands-dev-shop:focus {
    color: #fff !important;
    background: #1f9d55;
    border-color: #1f9d55;
}

.brands-dev-browse {
    display: block;
    width: 100%;
    margin: 22px auto 0;
    border: 0;
    background: transparent;
    color: #1f9d55;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    padding: 4px 8px;
}

.brands-dev-browse:hover {
    color: #157a40;
}

.brands-dev-empty {
    text-align: center;
    color: #6b7280;
    padding: 1rem 0 0.25rem;
    margin: 0;
}

.brands-dev-hidden {
    display: none !important;
}

.brands-dev-seo {
    margin-top: 2.5rem;
}

@media (min-width: 576px) {
    .brands-dev-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brands-dev-hero h1 {
        font-size: 2.75rem;
    }
}

@media (min-width: 768px) {
    .brands-dev-panel {
        padding: 2.25rem 1.75rem 2rem;
    }

    .brands-dev-hero {
        padding: 4.5rem 1rem 7.25rem;
    }

    .brands-dev-hero p {
        font-size: 1.08rem;
    }
}

@media (min-width: 992px) {
    .brands-dev-panel {
        padding: 2.5rem 2rem 2.25rem;
    }

    .brands-dev-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 18px;
    }

    .brands-dev-hero h1 {
        font-size: 3.35rem;
    }
}

@media (max-width: 575.98px) {
    .brands-dev-panel .brands-dev-search button {
        flex-basis: 56px;
        width: 56px;
    }

    .brands-dev-card h2 {
        font-size: 17px;
    }
}
