.box-partnet-review {
    padding-bottom: 20px
}

.brand-hero-section {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05)
}

.brand-hero-backdrop {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #0e6938 0%, #0e6938 100%);
    border-radius: 12px 12px 0 0
}

.brand-hero-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 30px 30px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    justify-content: space-between
}

.brand-hero-left {
    display: flex;
    gap: 24px;
    flex: 1 1 500px;
    align-items: flex-end
}

.products-slider.category-products-carousel .product-card {
    margin-right: 10px
}

.category-products-carousel .slick-slide {
    margin: 6px
}

.category-products-carousel .slick-list {
    margin: 0 -6px
}

.brand-logo-frame {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0
}

.brand-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.brand-logo-placeholder {
    font-size: 50px;
    font-weight: 700;
    color: #99bceb
}

.brand-title-wrap {
    padding-bottom: 10px
}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #333
}

.brand-description {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.brand-hero-right {
    flex: 1 1 350px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    align-self: flex-end
}

.brand-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px
}

.brand-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03)
}

.brand-stat-card.col-span-2 {
    grid-column: span 2
}

.stat-icon {
    font-size: 24px;
    color: #99bceb;
    background: rgba(0, 86, 179, 0.1);
    padding: 10px;
    border-radius: 50%
}

.stat-info {
    display: flex;
    flex-direction: column
}

.stat-num,
.stat-num-text {
    font-weight: 600;
    color: #333;
    font-size: 16px
}

.stat-num-text.address-text {
    font-size: 14px;
    line-height: 1.4
}


.brand-category-section {
    /* background:#fff; */
    /* border-radius:12px; */
    /* padding:30px; */
    margin-bottom: 30px;
    /* box-shadow:0 2px 10px rgba(0,0,0,0.04); */
}


.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea
}

.category-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px
}

.category-product-count {
    font-size: 14px;
    color: #777
}

.category-view-all-btn {
    display: inline-flex;
    align-items: center;
    color: #0e6938;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s
}

.brand-intro-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    position: relative
}

.content-wrapper {
    transition: max-height 0.4s ease
}

.content-wrapper.collapsed {
    overflow: hidden;
    position: relative
}

.content-wrapper.collapsed .content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none
}

.brand-intro-card .content {
    font-size: 16px;
    line-height: 1.6;
    color: #444
}

.brand-intro-card .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0
}

.read-more-wrapper {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 2
}

.btn-read-more {
    background: #fff;
    border: 1px solid #ddd;
    color: #000;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05)
}

.btn-read-more:hover {
    background: #f8f9fa;
    color: #99bceb;
    border-color: #99bceb
}

.btn-read-more.expanded .material-symbols-outlined {
    transform: rotate(180deg)
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.3s
}

.slick-prev:hover,
.slick-next:hover {
    background: #99bceb;
    color: #fff;
    border-color: #99bceb
}

.slick-prev {
    left: -20px
}

.slick-next {
    right: -20px
}

@media (max-width: 1200px) {
    .slick-prev {
        left: 0
    }

    .slick-next {
        right: 0
    }
}

@media (max-width: 768px) {
    .brand-hero-content {
        flex-direction: column;
        padding: 0 15px 20px;
        margin-top: -50px;
        align-items: center;
        gap: 20px
    }

    .brand-hero-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        flex: unset
    }

    .brand-logo-frame {
        width: 100px;
        height: 100px
    }

    .brand-title-wrap {
        padding-bottom: 0
    }

    .brand-name {
        font-size: 24px
    }

    .brand-hero-right {
        align-self: stretch;
        flex: unset
    }

    .brand-stats-grid {
        grid-template-columns: 1fr
    }

    .brand-stat-card.col-span-2 {
        grid-column: span 1
    }

    .category-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }


    .category-section-title {
        font-size: 20px
    }
}

/* ==========================================================================
   SUPPLIERS / BRANDS LISTING PAGE (cards-grid)
   ========================================================================== */
.home-section-verifiled {
    padding: 30px 0;
}

.supplier-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
}

.supplier-search-form {
    flex: 1;
    max-width: 750px;
}

.supplier-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.supplier-search-icon {
    position: absolute;
    left: 15px;
    width: 17px;
    height: 17px;
    color: #6b7280;
    pointer-events: none;
}

.supplier-search-input {
    width: 100%;
    height: 40px;
    padding: 0 34px 0 42px;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 13.5px;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.supplier-search-input:focus {
    border-color: #0e6938;
    box-shadow: 0 0 0 3px rgba(14, 105, 56, 0.1);
}

.supplier-search-input::placeholder {
    color: #6b7280;
    font-size: 13.5px;
}

.supplier-search-clear {
    position: absolute;
    right: 14px;
    font-size: 18px;
    color: #9ca3af;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
}

.supplier-search-clear:hover {
    color: #1f2937;
}

.supplier-filter-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.supplier-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 22px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.3;
    background: #ffffff;
    color: #111827;
    border: 1px solid #374151;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.supplier-filter-btn:hover {
    border-color: #e50308;
    color: #e50308;
}

.supplier-filter-btn.is-active {
    background: #e50308;
    color: #ffffff;
    border-color: #e50308;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(229, 3, 8, 0.25);
}

.supplier-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #6b7280;
    font-size: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
    margin-bottom: 30px;
}

.home-section-verifiled .page-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    position: relative;
    padding-left: 14px;
}

.home-section-verifiled .page-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background-color: #0e6938;
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.cards-grid .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 26px 18px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.cards-grid .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.cards-grid .card-hero {
    width: 100%;
    /* height: 60px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.cards-grid .card-hero-image {
    max-width: 160px;
    /* max-height: 52px; */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.cards-grid .company-name {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cards-grid .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
}

.cards-grid .stats-row {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 13.5px;
    font-weight: 500;
}

.cards-grid .stat-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.cards-grid .stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.cards-grid .stat-label {
    font-size: 14px;
    color: #000;
}

.cards-grid .product-images {
    display: none !important;
}

.cards-grid .action-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-grid .btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 22px;
    background-color: #ffffff;
    color: var(--color-5);
    border: 1px solid var(--color-5);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.3;
}

.cards-grid .btn-profile:hover {
    background-color: var(--color-5);
    color: #ffffff;
    border-color: var(--color-5);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
    transform: translateY(-1px);
}

.cards-grid .btn-profile span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.cards-grid .btn-profile:hover span {
    transform: translateX(3px);
}

.home-section-verifiled .pagination-wrap {
    display: flex;
    justify-content: center;
}

@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .home-section-verifiled {
        padding: 20px 0 40px;
    }

    .home-section-verifiled .page-title {
        font-size: 20px;
    }

    .supplier-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 20px;
    }

    .supplier-search-form {
        max-width: 100%;
    }

    .supplier-filter-buttons {
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .supplier-filter-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cards-grid .card {
        padding: 18px 12px 16px;
    }

    .cards-grid .card-hero {
        height: 48px;
        margin-bottom: 10px;
    }

    .cards-grid .card-hero-image {
        max-width: 130px;
    }

    .cards-grid .company-name {
        font-size: 16px;
    }

    .cards-grid .stats-row {
        margin-bottom: 10px;
        font-size: 12.5px;
    }

    .cards-grid .stat-value,
    .cards-grid .stat-label {
        font-size: 12.5px;
    }

    .cards-grid .btn-profile {
        padding: 5px 14px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .cards-grid {
        gap: 8px;
    }

    .cards-grid .card {
        padding: 14px 8px 12px;
    }

    .cards-grid .company-name {
        font-size: 14.5px;
    }

    .cards-grid .btn-profile {
        padding: 4px 10px;
        font-size: 11.5px;
    }
}
