#vendor-shop-info-section .promo-banner {
    min-height: 210px;
    position: relative;
}

#vendor-shop-info-section .brand-promo-banner {
    min-height: unset;
    position: relative;
}

#vendor-shop-info-section .promo-banner img {
    width: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#vendor-shop-info-section .promo-banner .shop-bar {
    width: 100%;
    position: absolute;
    bottom: 10px;
    padding: 14px 0;
}

#vendor-shop-info-section .promo-banner .shop-bar .shop-bar-wapper {
    background: var(--revaly-shop-bar-bg);
    border-radius: var(--radius);
    padding: 16px;
}

#vendor-shop-info-section .shop-rating {
    background: #fff;
    border-radius: var(--radius);
    padding: 5px 16px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}

#vendor-shop-info-section .shop-logo {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#vendor-shop-info-section .shop-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
}

#vendor-shop-info-section .shop-verified-badge {
    color: #fff;
    font-weight: 300;
    font-size: 14px;
}

#vendor-shop-info-section .shop-name i {
    color: #003bff;
    font-size: .85rem;
    margin-left: 4px;
}

#vendor-shop-info-section .shop-rating i {
    color: #ffb400;
}

#vendor-shop-info-section .subnav {
    background: #fff;
    padding: 14px;
    border-radius: var(--radius)
}

#vendor-shop-info-section .shop-search .form-control {
    border-radius: 30px !important;
    padding: 9px 18px;
    border: 1px solid #e6c3d3;
    font-size: .85rem;
}

#vendor-shop-info-section .shop-search .form-control:focus {
    box-shadow: none;
    border-color: var(--revaly-primary);
}

#vendor-shop-info-section .shop-search {
    width: 420px;
    margin-left: auto;
}

#vendor-shop-info-section .breadcrumb-link.active {
    color: var(--revaly-primary);
}

#vendor-shop-info-section .breadcrumb-sep {
    color: var(--text-color);
    margin: 0 6px;
}

#vendor-shop-info-section .cat-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: .95rem;
}

#vendor-shop-info-section .shop-search-wrap {
    position: relative;
}

#vendor-shop-info-section .shop-search-wrap i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--revaly-primary);
}

#vendor-shop-info-section .section-title,
.product-section .section-title {
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0 0 14px;
    color: var(--text-dark);
}

/* ==========================================================================
   Brand & Category Details Banner Pill (Border-Radius: 4px)
   ========================================================================== */
#vendor-shop-info-section .promo-banner .banner-fallback-box {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--revaly-shop-bar-bg, #bb5380) 0%, var(--revaly-pink, #e2136e) 100%);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#vendor-shop-info-section .brand-name-wapper {
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    background: #ffffff;
    width: 100%;
    border-radius: 4px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    padding: 8px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

#vendor-shop-info-section .brand-name-wapper .brand-name {
    margin-bottom: 0;
    color: var(--revaly-pink, #e2136e);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

#vendor-shop-info-section .brand-image {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

#vendor-shop-info-section .brand-image img {
    width: 100%;
    height: 100%;
    border-radius: 4px !important;
    border: 2px solid var(--revaly-pink, #e2136e);
    object-fit: contain;
}

.category-products-section {
    margin-top: 32px;
}

.no-products-wrapper {
    background: #ffffff;
    border-radius: 4px;
    border: 1px dashed #cbd5e1;
    padding: 56px 20px;
    margin: 30px 0;
}

.no-products-wrapper .empty-icon-wrap {
    color: #94a3b8;
    margin-bottom: 16px;
}

/* ==========================================================================
   Brand Listing Page (Brands Directory - Border Radius 4px)
   ========================================================================== */
.brands-directory-section,
.brand-section {
    padding: 24px 0 48px;
}

.brands-header-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.brands-header-content {
    flex: 1 1 auto;
    min-width: 250px;
}

.brands-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brands-title .badge-count {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(226, 19, 110, 0.1);
    color: var(--revaly-pink, #e2136e);
}

.brands-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 0;
}

.brand-search-box {
    position: relative;
    width: 280px;
    max-width: 100%;
}

.brand-search-box .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.88rem;
}

.brand-search-input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    padding: 8px 16px 8px 38px;
    font-size: 0.85rem;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.brand-search-input:focus {
    outline: none;
    border-color: var(--revaly-pink, #e2136e);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(226, 19, 110, 0.12);
}

.brand-grid-modern {
    margin-bottom: 30px;
}

.brand-card-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 4px;
    padding: 16px 12px 12px;
    height: 135px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.brand-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--revaly-pink, #e2136e);
}

.brand-card-logo {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.brand-card-logo img {
    max-width: 90%;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-card-item:hover .brand-card-logo img {
    transform: scale(1.05);
}

.brand-card-logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--revaly-pink, #e2136e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-card-name {
    width: 100%;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    padding: 0 4px;
}

.brand-card-item:hover .brand-card-name {
    color: var(--revaly-pink, #e2136e);
}

/* Legacy fallback classes support */
.brand-section .brand-grid {
    border: none;
}
.brand-section .brand-item {
    height: auto;
    border: none;
    padding: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991.98px) {
    #vendor-shop-info-section .promo-banner {
        min-height: 160px;
    }

    #vendor-shop-info-section .brand-name-wapper {
        padding: 8px 14px;
        bottom: -16px;
    }

    #vendor-shop-info-section .brand-name-wapper .brand-name {
        font-size: 1.15rem;
    }

    #vendor-shop-info-section .brand-image {
        width: 38px;
        height: 38px;
    }

    .category-products-section {
        margin-top: 28px;
    }

    .brands-header-card {
        padding: 16px 18px;
    }

    .brand-card-item {
        height: 125px;
        padding: 12px 8px 8px;
    }

    .brand-card-logo {
        height: 48px;
    }

    .brand-card-logo img {
        max-height: 42px;
    }
}

@media (max-width: 575.98px) {
    #vendor-shop-info-section .promo-banner {
        min-height: 110px;
    }

    #vendor-shop-info-section .promo-banner img {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    #vendor-shop-info-section .brand-name-wapper {
        padding: 6px 12px;
        bottom: -14px;
    }

    #vendor-shop-info-section .brand-name-wapper .brand-name {
        font-size: 1rem;
    }

    #vendor-shop-info-section .brand-image {
        width: 32px;
        height: 32px;
    }

    .category-products-section {
        margin-top: 22px;
    }

    .product-section .section-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .brands-header-card {
        padding: 12px 14px;
        margin-bottom: 18px;
    }

    .brands-title {
        font-size: 1.2rem;
    }

    .brands-subtitle {
        font-size: 0.8rem;
    }

    .brand-search-box {
        width: 100%;
        margin-top: 6px;
    }

    .brand-card-item {
        height: 110px;
        padding: 10px 6px 6px;
    }

    .brand-card-logo {
        height: 44px;
        margin-bottom: 4px;
    }

    .brand-card-logo img {
        max-height: 36px;
    }

    .brand-card-name {
        font-size: 0.75rem;
    }
}

