/* ==========================================
   SUPPLIER HERO
========================================== */

.supplier-hero{
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;

    background-image: url("https://exportimport.webhect.com/wp-content/uploads/2026/08/seller.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.supplier-hero::before{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7,55,126,.82) 0%,
        rgba(10,77,164,.68) 45%,
        rgba(10,77,164,.38) 70%,
        rgba(10,77,164,.08) 100%
    );
}

.supplier-hero-content{
    position:absolute;
    inset:0;
    z-index:2;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
}

.supplier-hero-content h1{
    color:#fff;
    font-size:64px;
    font-weight:600;
    margin:0;
    text-transform:uppercase;
}

.supplier-hero-content p{
    color:#fff;
    font-size:20px;
    margin-top:10px;
    letter-spacing:.5px;
    text-transform:uppercase;
}

/* Remove Astra container width on supplier archive */

.post-type-archive-supplier .ast-container{
    max-width:100% !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
}

.post-type-archive-supplier .site-content{
    padding:0 !important;
}

.post-type-archive-supplier .site-main{
    margin:0 !important;
    padding:0 !important;
}

.post-type-archive-supplier .supplier-hero{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);

    height:300px;

    background:url("https://exportimport.webhect.com/wp-content/uploads/2026/08/seller.webp") center center/cover no-repeat;
}
/* =========================================================
   SUPPLIERS ARCHIVE
========================================================= */

.eod-suppliers,
.eod-suppliers * {
    box-sizing: border-box;
}

.eod-suppliers {
    width: 100%;
    background: #f5f7f9;
    color: #222;
}

.eod-suppliers-container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
}


/* HERO */

.eod-suppliers-hero {
    background: #fff;
    padding: 28px 0 30px;
    border-bottom: 1px solid #ececec;
}

.eod-welcome {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}

.eod-suppliers-hero h1 {
    margin: 0 0 4px !important;
    padding: 0;

    font-size: 25px !important;
    line-height: 1.3;

    font-weight: 600;
    color: #111;
}

.eod-suppliers-hero p {
    margin: 0;

    font-size: 13px;
    color: #707070;
}


/* CONTENT */

.eod-suppliers-content {
    padding: 28px 0 60px;
}

.eod-suppliers-content h2 {
    margin: 0 0 18px !important;

    font-size: 21px !important;
    font-weight: 600;

    color: #111;
}


/* =========================================================
   FILTER
========================================================= */

.eod-filter-box {
    background: #fff;

    border: 1px solid #e8e8e8;

    margin-bottom: 20px;
}

.eod-filter-heading {
    padding: 12px 16px;

    border-bottom: 1px solid #eee;

    font-size: 14px;
    font-weight: 600;

    color: #333;
}

.eod-filter-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    padding: 16px;
}

.eod-filter-field label {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    color: #777;
}

.eod-filter-field select {
    display: block;

    width: 100%;
    height: 38px;

    padding: 0 12px;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 2px;

    font-size: 12px;
    color: #555;

    outline: none;
}

.eod-filter-field select:focus {
    border-color: #0878b9;
}


/* =========================================================
   SUPPLIER LIST
========================================================= */

.eod-supplier-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}


/* CARD */

.eod-supplier-card {
    display: flex;

    min-width: 0;
    min-height: 180px;

    padding: 15px;

    background: #fff;

    border: 1px solid #e6e6e6;

    transition:
        box-shadow .2s ease,
        border-color .2s ease;
}

.eod-supplier-card:hover {
    border-color: #d5d5d5;

    box-shadow:
        0 4px 16px rgba(0,0,0,.06);
}


/* IMAGE */

.eod-supplier-image {
    display: flex;

    align-items: flex-start;
    justify-content: center;

    width: 105px;
    height: 105px;

    flex: 0 0 105px;

    margin-right: 15px;

    background: #fff;

    overflow: hidden;
}

.eod-supplier-image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: 100%;

    object-fit: contain;
}

.eod-no-image {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: #f5f5f5;

    font-size: 10px;
    color: #aaa;
}


/* CONTENT */

.eod-supplier-info {
    display: flex;

    flex-direction: column;

    min-width: 0;

    flex: 1;
}

.eod-supplier-info h3 {
    margin: 0 0 10px !important;
    padding: 0;

    font-size: 14px !important;
    line-height: 1.35 !important;

    font-weight: 500;
}

.eod-supplier-info h3 a {
    color: #111;
    text-decoration: none;
}

.eod-supplier-info h3 a:hover {
    color: #0073aa;
}


/* META */

.eod-supplier-meta {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 9px;
}

.eod-supplier-meta > div {
    display: flex;

    flex-direction: column;
}

.eod-supplier-meta span {
    margin-bottom: 2px;

    font-size: 9px;
    line-height: 1.3;

    color: #888;
}

.eod-supplier-meta strong {
    font-size: 10px;
    line-height: 1.4;

    font-weight: 500;

    color: #333;
}


/* DESCRIPTION */

.eod-supplier-description {
    display: -webkit-box;

    margin-bottom: 10px;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    font-size: 10px;
    line-height: 1.5;

    color: #666;
}


/* SHOW DETAILS */

.eod-show-details {
    display: inline-block;

    align-self: flex-start;

    margin-top: auto;

    font-size: 10px;

    font-weight: 500;

    color: #0075ad;

    text-decoration: none;
}

.eod-show-details:hover {
    color: #004f79;
    text-decoration: underline;
}


/* =========================================================
   PAGINATION
========================================================= */

.eod-pagination {
    grid-column: 1 / -1;

    display: flex;

    justify-content: center;

    padding: 25px 0 0;
}

.eod-pagination .nav-links {
    display: flex;

    align-items: center;

    gap: 5px;
}

.eod-pagination .page-numbers {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 34px;

    padding: 0 10px;

    background: #fff;

    border: 1px solid #ddd;

    font-size: 11px;

    color: #555;

    text-decoration: none;
}

.eod-pagination .page-numbers.current {
    background: #0878b9;

    border-color: #0878b9;

    color: #fff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .eod-supplier-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .eod-suppliers-container {
        width: calc(100% - 30px);
    }


    .eod-filter-grid {
        grid-template-columns: 1fr;
    }


    .eod-supplier-list {
        grid-template-columns: 1fr;
    }


    .eod-supplier-card {
        min-height: auto;
    }


    .eod-supplier-image {
        width: 90px;
        height: 90px;

        flex-basis: 90px;
    }

}


@media (max-width: 480px) {

    .eod-supplier-card {
        display: block;
    }


    .eod-supplier-image {
        width: 100%;
        height: 160px;

        margin: 0 0 15px;
    }


    .eod-supplier-image img {
        object-fit: contain;
    }

}




/* =====================================================
   SUPPLIER SINGLE PAGE
===================================================== */

.supplier-page,
.supplier-page * {
    box-sizing: border-box;
}


/* PAGE */

.supplier-page {
    width: 100%;
    max-width: none;
    background: #f3f6f9;
    padding: 32px 0 60px;
    margin: 0;
}


/* MAIN CONTAINER */

.supplier-page .supplier-page-container {
    width: calc(100% - 60px);
    max-width: 1750px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(320px, 1fr);
    gap: 18px;

    align-items: start;
}


/* =====================================================
   LEFT CARD
===================================================== */

.supplier-page .supplier-main-card {
    width: 100%;
    min-width: 0;

    background: #fff;

    overflow: hidden;
}


/* BLUE BANNER */

.supplier-page .supplier-cover {
    display: block;

    width: 100%;
    height: 100px;

    background: #086b9e;
}


/* =====================================================
   PROFILE
===================================================== */

.supplier-page .supplier-profile {
    position: relative;

    width: 100%;

    padding: 0 15px 10px;
}


.supplier-page .supplier-logo-wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin-top: -30px;
    margin-bottom: 10px;

    padding: 3px;

    border-radius: 50%;

    background: #fff;

    overflow: hidden;

    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}


.supplier-page .supplier-logo-wrap img,
.supplier-page img.supplier-logo-img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: 100%;

    object-fit: contain;

    border-radius: 50%;
}


.supplier-page .supplier-company-name {
    display: block;

    margin: 0 0 5px !important;
    padding: 0;

    font-size: 17px !important;
    line-height: 1.3 !important;

    font-weight: 500;

    color: #111;
}


.supplier-page .supplier-profile-meta {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 5px 15px;

    font-size: 10px;
    line-height: 1.4;

    color: #555;
}


.supplier-page .supplier-country,
.supplier-page .supplier-member {
    display: inline-flex;

    align-items: center;

    gap: 4px;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.supplier-page .supplier-description {
    width: 100%;

    padding: 5px 15px 15px;

    font-size: 10px !important;
    line-height: 1.5;

    color: #4c5560;
}


.supplier-page .supplier-description p {
    margin: 0 0 7px;
    padding: 0;

    font-size: inherit;
    line-height: inherit;
}


.supplier-page .supplier-description p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   COMPANY DETAIL
===================================================== */

.supplier-page .supplier-company-details {
    display: block;

    width: 100%;

    padding: 12px 15px 22px;
}


.supplier-page .supplier-company-details h2,
.supplier-page .supplier-featured-products h2 {
    margin: 0 0 18px !important;
    padding: 0;

    font-size: 17px !important;
    line-height: 1.3 !important;

    font-weight: 500;

    color: #111;
}


.supplier-page .company-detail-grid {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 80px;
    row-gap: 22px;

    width: 100%;
}


.supplier-page .company-detail-item {
    display: flex !important;

    flex-direction: row !important;

    align-items: center;

    gap: 10px;

    width: 100%;
    min-width: 0;
}


/* ICON */

.supplier-page .company-detail-icon {
    display: flex !important;

    align-items: center;
    justify-content: center;

    flex: 0 0 28px !important;

    width: 28px !important;
    height: 28px !important;

    min-width: 28px !important;
    max-width: 28px !important;

    min-height: 28px !important;
    max-height: 28px !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: hidden;
}


.supplier-page .company-detail-icon svg {
    display: block !important;

    width: 25px !important;
    height: 25px !important;

    min-width: 25px !important;
    max-width: 25px !important;

    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 !important;

    fill: #0073b9;
}


/* DETAIL TEXT */

.supplier-page .company-detail-content {
    display: flex !important;

    flex-direction: column;

    justify-content: center;

    min-width: 0;
}


.supplier-page .company-detail-label {
    display: block;

    margin: 0 0 2px;

    color: #7a8792;

    font-size: 9px !important;
    line-height: 1.2 !important;
}


.supplier-page .company-detail-content strong {
    display: block;

    margin: 0;

    color: #111;

    font-size: 10px !important;
    line-height: 1.4 !important;

    font-weight: 500;

    word-break: break-word;
}


/* =====================================================
   FEATURED PRODUCTS
===================================================== */

.supplier-page .supplier-featured-products {
    width: 100%;

    padding: 15px 15px 30px;
}


.supplier-page .no-products {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 100px;

    color: #a0a8b0;
}


.supplier-page .no-product-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin-bottom: 7px;

    border: 2px solid #a9c9e6;
    border-radius: 50%;

    color: #6699c2;

    font-size: 16px;
}


.supplier-page .no-products span {
    font-size: 9px;
}


/* =====================================================
   RIGHT SIDEBAR
===================================================== */

.supplier-page .supplier-sidebar {
    display: block;

    width: 100%;
    min-width: 0;
}


.supplier-page .supplier-contact-card {
    display: block;

    width: 100%;

    background: #fff;

    padding: 20px 25px;

    min-height: 220px;
}


.supplier-page .supplier-contact-card h3 {
    margin: 0 0 25px !important;

    padding: 0;

    font-size: 16px !important;
    line-height: 1.3;

    font-weight: 500;

    color: #111;
}


/* COMPANY */

.supplier-page .contact-company {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;
}


.supplier-page .contact-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    overflow: hidden;

    border-radius: 50%;

    border: 1px solid #eee;

    background: #fff;
}


.supplier-page .contact-logo img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain;
}


.supplier-page .contact-company > div:last-child {
    display: flex;

    flex-direction: column;
}


.supplier-page .contact-company strong {
    font-size: 11px;

    line-height: 1.3;

    font-weight: 500;

    color: #111;
}


.supplier-page .contact-company span {
    margin-top: 3px;

    font-size: 9px;

    color: #777;
}


/* CONTACT INFO */

.supplier-page .contact-row {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    width: 100%;

    margin: 12px 0;

    font-size: 9px;
}


.supplier-page .contact-row span {
    color: #858e96;
}


.supplier-page .contact-row strong {
    color: #1680bb;

    font-weight: 400;

    text-align: right;
}


/* BUTTON */

.supplier-page .supplier-contact-btn {
    display: inline-block;

    width: auto;

    margin: 15px 0 0;

    padding: 9px 16px;

    border: 0;
    border-radius: 0;

    background: #006da8;

    color: #fff;

    font-size: 9px;

    line-height: 1.2;

    font-weight: 600;

    cursor: pointer;
}


.supplier-page .supplier-contact-btn:hover {
    background: #00598b;
    color: #fff;
}


/* =====================================================
   TABLET
===================================================== */

@media only screen and (max-width: 1024px) {

    .supplier-page .supplier-page-container {
        width: calc(100% - 40px);

        grid-template-columns:
            minmax(0, 1.6fr)
            minmax(280px, 1fr);
    }


    .supplier-page .company-detail-grid {
        column-gap: 30px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media only screen and (max-width: 767px) {

    .supplier-page {
        padding: 20px 0 40px;
    }


    .supplier-page .supplier-page-container {
        width: calc(100% - 30px);

        display: block !important;
    }


    .supplier-page .supplier-main-card {
        width: 100%;

        margin-bottom: 20px;
    }


    .supplier-page .supplier-cover {
        height: 85px;
    }


    .supplier-page .supplier-company-name {
        font-size: 19px !important;
    }


    .supplier-page .supplier-description {
        font-size: 11px !important;
    }


    .supplier-page .company-detail-grid {
        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 20px;
    }


    .supplier-page .company-detail-item {
        display: flex !important;

        flex-direction: row !important;
    }


    .supplier-page .company-detail-icon {
        width: 28px !important;
        height: 28px !important;

        flex: 0 0 28px !important;
    }


    .supplier-page .company-detail-icon svg {
        width: 24px !important;
        height: 24px !important;
    }


    .supplier-page .supplier-sidebar {
        width: 100%;
    }

}