/* Main Content Layout */
.sale-offer-page .main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-direction: column;
    width: 18%;
}

/* Sidebar */
.sale-offer-page .sidebar {
    width: 100%;
}

.sale-offer-page .sidebar-inner {
    background-color: white;
    min-height: 619px;
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    padding: 1.25rem 1.25rem 74px;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sale-offer-page .sidebar-content {
    width: 100%;
}

.reset-filter{
    display: flex;
    width: max-content;
    justify-self: end;
    /* background: linear-gradient(to right, #FE4E44, #9F0900); */
    color: #FE4E44;
    font-size: 14px;
    font-weight: 500;
    border-radius: 27px;
}

/* Search Input */
.sale-offer-page .search-input-container {
    width: 100%;
    margin-top: 12px;
}

.sale-offer-page .filter-button {
    display: none;
    margin-left: 50px;
    width: 101px;
    height: 30px;
    align-items: center;
    gap: 6px;
    border: 1px solid #ccc;
    padding: 6px 12px;
    background-color: white;
    cursor: pointer;
}

.sale-offer-page .country-list {
    display: flex;
    flex-direction: column;
    min-height: 122px;
    max-height: 215px;
    max-width: 100%;
    /* width: 8rem; */
    overflow-y: scroll;
    margin-top: 0.75rem;
    /* background-color: #e0dce24a; */
}

.sale-offer-page .category-list {
    display: flex;
    flex-direction: column;
    /* min-height: 477px; */
    max-width: 100%;
    max-height: 215px;
    /* width: 199px; */
    overflow-y: scroll;
    margin-top: 0.75rem;
    /* background-color: #e0dce24a; */
}

.sale-offer-page .filter-item {
    display: flex;
    gap: 8px;
}

.sale-offer-page .visibleonlow{
    display: none !important;
}

.sale-offer-page .visibleonhigh{
    display: block !important;
}

.sale-offer-page .search-label {
    color: #0D0D0F;
    font-size: 16px;
    font-weight: 500;
}

.sale-offer-page .search-field {
    width: 100%;
    margin-top: 0.75rem;
}

.sale-offer-page .search-wrapper {
    background-color: white;
    display: flex;
    align-items: center;
    padding: 7px 22px;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
}

.sale-offer-page .search-icon {
    width: 1rem;
    aspect-ratio: 1;
    object-fit: contain;
    margin-right: 0.5rem;
}

.sale-offer-page .search-input {
    background-color: transparent;
    outline: none;
    width: 100%;
    font-size: 0.875rem;
    border: none;
}

/* Filter Groups */
.sale-offer-page .filter-group {
    width: 100%;
    margin-top: 30px;
}

.sale-offer-page .filter-title {
    color: #0D0D0F;
    font-size: 1rem;
    font-weight: 500;
}

.sale-offer-page .checkboxes-container {
    width: 158px;
    max-width: 100%;
    font-size: 0.875rem;
    color: #0D0D0F;
    font-weight: normal;
    margin-top: 0.75rem;
}

.sale-offer-page .checkbox-item {
    display: flex;
    align-items: center;
    margin-left: 10px;
    gap: 0.625rem;
    margin-top: 0.625rem;
}

.sale-offer-page .checkbox-item:first-child {
    margin-top: 0;
}

.sale-offer-page .custom-checkbox {
    width: 18px;
    height: 18px;
    aspect-ratio: 1;
    flex-shrink: 0;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sale-offer-page .custom-checkbox.selected {
    background-color: #FE4E44;
}

.sale-offer-page .custom-checkbox img {
    width: 100%;
    height: 100%;
}

.sale-offer-page .flag-icon {
    width: 1.25rem;
    aspect-ratio: 1;
    object-fit: contain;
    flex-shrink: 0;
}

.sale-offer-page .search-input {
    width: 100%;
}

.sale-offer-page .search-input-field {
    display: flex;
    flex-direction: row;
    border: 1px solid #D5D5D5;
    background-color: white;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 6px;
}

.sale-offer-page .search-input-field input {
    width: 88%;
    border: 0;
    outline: 0;
}

.sale-offer-page .search-input-field img {
    width: 20px;
}

.sale-offer-page .filter-section:first-child{
    margin-top: 0;
}

.filter-sidebar
{
    border: 1px solid lightgrey;
    /* box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.25); */
}
.sale-offer-page .filter-section {
    width: 100%;
    /* margin-top: 10px; */
    background: white;
    padding: 15px;
}

.sale-offer-page .sidebar-banner {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.sale-offer-page .sidebar-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Products Section Styles */
.sale-offer-page .products-section {
    flex-grow: 1;
    width: 80%;
}

.sale-offer-page .hidden,
.sale-offer-page .view-detail-btn-hide {
    display: none;
}

/* Product Card Styles */
.sale-offer-page .product-card {
    background-color: white;
    border: 1px solid #D5D5D5;
    border-radius: 0px;
    padding: 30px;
    margin-bottom: 16px;
    display: flex;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}

.sale-offer-page .product-card:hover {
    /* border-color: #FE4E44 !important; */
    scale: unset;
    border-color: lightgrey !important;
    box-shadow: unset !important;
}

.sale-offer-page .pagination-number:hover {
    border-color: #FE4E44 !important;
    color: #FE4E44 !important;
}

.sale-offer-page .product-image-col {
    width: 42%;
    padding-right: 10px;
}

.sale-offer-page .product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sale-offer-page .product-image {
    width: 170px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    object-fit: cover;
}

.sale-offer-page .product-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #515050;
    font-size: 14px;
    margin-top: 30px;
}

.sale-offer-page .location-icon {
    font-size: 14px;
    color: #515050;
}

/* Product Details Column */
.sale-offer-page .product-details-col {
    width: 40%;
}

.sale-offer-page .detail-table {
    width: 100%;
    font-size: 14px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.sale-offer-page .detail-table tr {
    height: 42px;
}

.sale-offer-page .detail-label {
    width: 50%;
    font-weight: 400;
    color: #0D0D0F;
    background-color: white;
    border-top: 1px solid #D5D5D5;
    /* border-bottom: 1px solid #D5D5D5; */
    border-left: 1px solid #D5D5D5;
    padding: 11px 0px;
    text-align: center;
    text-wrap-mode: nowrap;
}

.sale-offer-page .detail-value {
    font-weight: 600;
    text-align: center;
    padding: 11px;
    border-top: 1px solid #D5D5D5;
    /* border-bottom: 1px solid #D5D5D5; */
    border-left: 1px solid #D5D5D5;
    border-right: 1px solid #D5D5D5;
    width: 50%;
}

.sale-offer-page .detail-table tr:first-child .detail-label,
.sale-offer-page .detail-table tr:first-child .detail-value {
    border-top: 1px solid #D5D5D5;
}

.sale-offer-page .detail-table tr:last-child .detail-label,
.sale-offer-page .detail-table tr:last-child .detail-value {
    border-bottom: 1px solid #D5D5D5;
}

.sale-offer-page .detail-value .unit {
    font-size: 12px;
    font-weight: 400;
    color: #515050;
}

/* Contact Seller Column */
.sale-offer-page .contact-seller-col {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-left: 20px;
}

.sale-offer-page .favorite-icon {
    align-self: flex-end;
    cursor: pointer;
    color: #706c6c;
    font-size: 19px;
}

.sale-offer-page .favorite-icon.active {
    color: #FE4E44;
}

.sale-offer-page .contact-btn {
    background: linear-gradient(90deg, #FE4E44 0%, #9F0900 100%);
    color: white;
    border: none;
    border-radius: 42px;
    padding: 7px 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    /* margin-top: 53px; */
    text-align: center;
}

.sale-offer-page .seller-name {
    font-size: 18px;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
    width: 100%;
}

.sale-offer-page .company-name {
    font-size: 14px;
    color: #515050;
    margin-top: 4px;
    text-align: center;
    width: 100%;
}

/* Pagination Styles */
.sale-offer-page .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    gap: 26px;
    font-size: 16px;
    color: #515050;
}

.sale-offer-page .items-per-page {
    /* margin-right: auto; */
}

.sale-offer-page .page-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sale-offer-page .pagination-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.sale-offer-page .pagination-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D5D5D5;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
}

.sale-offer-page .pagination-number.active {
    border-color: #FE4E44;
    color: #FE4E44;
}

.sale-offer-page .pagination-ellipsis {
    display: flex;
    align-items: center;
}

.sale-offer-page .pagination-total {
    min-width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D5D5D5;
    background-color: white;
    border-radius: 4px;
    padding: 0 10px;
}

.sale-offer-page .rfq-hidden {
    display: none;
}

/* RFQ Section Styles */
.sale-offer-page .rfq-section {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("rfq-image\ 1.png");
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

.sale-offer-page .rfq-info {
    flex: 1;
    color: white;
    padding-right: 20px;
}

.sale-offer-page .rfq-info h2 {
    font-size: 29px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left;
}

.sale-offer-page .rfq-description {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 50px;
    text-align: left;
}

.sale-offer-page .view-more {
    background-color: white;
    border: none;
    border-radius: 4px;
    padding: 13px 33px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: #050505;
    float: left;
    margin-bottom: 60px;
}

.sale-offer-page .rfq-benefits {
    clear: both;
    /* list-style-type: none; */

    margin-left: 3rem;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.sale-offer-page .rfq-benefits li {
    margin-bottom: 10px;
}

.sale-offer-page .sell-offer {
    margin: 1rem 0;
    display: flex;
    gap: 20px;
}

.sale-offer-page .rfq-form-container {
    width: 463px;
}

.sale-offer-page .rfq-form {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sale-offer-page .rfq-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: #050505;
    margin-bottom: 15px;
}

.sale-offer-page .rfq-form input,
.sale-offer-page .rfq-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #D5D5D5;
    border-radius: 4px;
    font-size: 14px;
}

.sale-offer-page .select-container {
    position: relative;
}

.sale-offer-page .select-container select {
    appearance: none;
    padding-right: 30px;
}

.sale-offer-page .select-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #515050;
}

.sale-offer-page .quantity-row {
    display: flex;
    gap: 11px;
}

.sale-offer-page .quantity-row input,
.sale-offer-page .quantity-row select {
    width: 50%;
}

.sale-offer-page .submit-rfq {
    background: linear-gradient(90deg, #FE4E44 0%, #9F0900 100%);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    margin-top: 2px;
}

/* Inquiry Form Styles */
.sale-offer-page .inquiry-form {
    background: white;
    width: 100%;
    box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.25);
}

.sale-offer-page .inquiry-header {
    background: #EBEBEB;
    padding: 19px 30px;
    font-size: 20px;
    font-weight: 600;
}

.sale-offer-page .inquiry-body {
    padding: 30px;
}

.sale-offer-page .form-group {
    margin-bottom: 20px;
}

.sale-offer-page .form-group label {
    display: block;
    font-size: 14px;
    color: #515050;
    font-weight: 500;
    margin-bottom: 10px;
}

.sale-offer-page .supplier-name-field {
    background: white;
    padding: 16px 32px;
    font-size: 16px;
}

.sale-offer-page #email,
.sale-offer-page #message {
    width: 100%;
    padding: 17px 31px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.sale-offer-page #message {
    resize: none;
    height: 200px;
}

.sale-offer-page .btn-inquire-now {
    background: linear-gradient(90deg, #FE4E44 0%, #9F0900 100%);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.sale-offer-page .filter-button {
    display: none;
    margin-left: 50px;
    width: 101px;
    height: 30px;
    align-items: center;
    gap: 6px;
    border: 1px solid #ccc;
    padding: 6px 12px;
    background-color: white;
    cursor: pointer;
}

@media (max-width: 1400px) {
    .sale-offer-page .contact-btn {
        padding: 12px 36px !important;
    }

    .sale-offer-page .product-title {
        font-size: 17px !important;
    }

    .sale-offer-page .product-image-col {
        width: 37% !important;
        /* padding-right: 10px; */
    }

    .sale-offer-page .contact-seller-col {
        /* width: 22% !important; */
    }
}

/* Responsive Styles */
@media (max-width: 1200px)and (min-width:767px) {
    .sale-offer-page .container {
        padding: 30px 20px;
    }

    .sale-offer-page .main-content {
        flex-direction: row;
    }

    .sale-offer-page .sidebar {
        /* width: 100%; */
        margin-bottom: 20px;
    }

    .sale-offer-page .product-card {
        flex-direction: row;

    }

    .sale-offer-page .detail-table {
        font-size: 11px;
    }

    .sale-offer-page .contact-btn {
        padding: 11px 6px;
        font-size: 12px;
    }

    .sale-offer-page .company-name {
        font-size: 10.02px;
    }

    .sale-offer-page .product-location {
        font-size: 12px;
        margin-top: 25px;
    }

    .sale-offer-page .seller-name {
        font-size: 12.89px;
    }

    .sale-offer-page .product-image-col,
    .sale-offer-page .product-details-col,
    .sale-offer-page .contact-seller-col {
        /* width: 100%; */
        margin-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .sale-offer-page .detail-table {
        /* width: 100%; */
    }

    .sale-offer-page .rfq-section {
        flex-direction: row;
    }

    .sale-offer-page .rfq-info h2 {
        font-size: 21.89px;
    }

    .sale-offer-page .rfq-description {
        font-size: 13.47px;
    }

    .sale-offer-page .product-title {
        font-size: 13.22px !important;
    }

    .sale-offer-page .view-more {
        font-size: 15px;
        padding: 13px 17px
    }

    .sale-offer-page .rfq-benefits {
        font-size: 16.84px;
    }

    .sale-offer-page .rfq-info,
    .sale-offer-page .rfq-form-container {
        /* width: 100%; */
    }
}

@media (max-width: 926px) {

    .hidebelow926{
        display: none !important;
    }

    .sale-offer-page .container {
        padding: 20px 15px;
    }

    .sale-offer-page .modal-header {
        display: flex;
        flex-direction: column !important;
    }

    .sale-offer-page .product-details-col {
        width: 100%;
    }

    .sale-offer-page .seller-name {
        font-size: 12.89px !important;
        font-weight: 500 !important;
        text-align: left !important;
    }
.sale-offer-page .togglebelow768{
    display: none;
}
    .sale-offer-page .contact-btn {
        font-size: 12.89px !important;
        padding: 9px 28px !important;
    }
.sale-offer-page .sell-offer{
    flex-direction: column;
}
    .sale-offer-page .company-name {
        font-size: 10.02px;
        font-weight: 400;
    }

    .sale-offer-page .product-image-col {
        width: 100% !important;
        /* padding-right: 10px; */
    }

    .sale-offer-page .hidden {
        display: block;
        display: flex;
        justify-content: space-between;
    }

    .sale-offer-page .main-content {
        gap: 0px;
    }

    .sale-offer-page .filters-btn {
        padding: 10px 19px 10px 15px;
        border: 1px solid #D5D5D5;
        border-radius: 4px;
        font-size: 14px;
        background: white;
    }

    .sale-offer-page .main-content {
        width: 100%;
        flex-direction: column;
    }

    .sale-offer-page .desktop-sidebar {
        display: none;
        width: 100%;
    }
 .sale-offer-page .mobile-screen{
    display: flex !important;
        justify-content: space-between;
        align-items: center;
        flex-direction: row-reverse;
 }
 .sale-offer-page .notshowbelow768{

    border: 1px solid #D5D5D5;
    padding: 8px;
 }
 .sale-offer-page #dynamicSellLeads{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
    justify-content: space-between;
 }
 .sale-offer-page .products-section{
    width: 100% !important;
 }
 .sale-offer-page .search-input-field{
    border-radius: 0px;
 }
  .sale-offer-page .mobile-screen div{
order: 1;
 }
 .sale-offer-page .search-input-container 
{
    width:80% !important ;
    margin-top: 0px !important;
}
    .sale-offer-page .mobile-sidebar {
        display: block !important;
    }

    .sale-offer-page .quantity-row {
        flex-direction: s;
    }

    .sale-offer-page .quantity-row input,
    .sale-offer-page .quantity-row select {
        width: 100%;
    }

    .sale-offer-page .pagination {
        flex-direction: column;
        gap: 15px;
    }

    .sale-offer-page .items-per-page {
        margin-right: 0;
    }

    .sale-offer-page .product-title {
        font-size: 16px !important;
    }

    .sale-offer-page .detail-label,
    .sale-offer-page .detail-value {
        padding: 10px;
    }

    .sale-offer-page .contact-btn {
        margin-top: 0;
        font-size: 16px;
    }

    .sale-offer-page .rfq-info h2 {
        font-size: 24px;
        text-align: center;
    }

    .sale-offer-page .rfq-description {
        font-size: 16px;
        text-align: center;
    }

    .sale-offer-page .view-more {
        float: none;
        display: block;
        margin: 0 auto 30px;
    }

    .sale-offer-page .rfq-benefits {
        font-size: 18px;
        text-align: center;
    }

    .sale-offer-page .product-card {
        display: block;
    }

    .sale-offer-page .product-image-col {
        width: 100%;
        display: flex;
        padding: 0;
        flex-direction: column;
        /* justify-content: center !important; */
        text-align: center !important;
    }

    .sale-offer-page .rfq-section {
        justify-content: center;
        background-image: none;
        padding: 0;
        margin-top: 29px;
    }

    .sale-offer-page .rfq-hidden {
        margin-top: 4rem;
        display: block !important;
    }

    .sale-offer-page .submit-rfq {
        font-size: 18.53px;
    }

    .sale-offer-page .rfq-form input,
    .sale-offer-page .rfq-form select {
        font-size: 11.79px;
    }

    .sale-offer-page .rfq-form h3 {
        font-size: 16.85px;
    }

    .sale-offer-page .rfq-info {
        display: none;
    }

    .sale-offer-page .rfq-form {
        border: 1px solid #D5D5D5;
    }

    .sale-offer-page .product-image {
        order: 1;
    }

    .sale-offer-page .product-location {
        order: 2;
        justify-content: left;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .sale-offer-page .product-title {
        order: 3;
        text-align: left;
    }

    .sale-offer-page .view-detail-btn-hide {
        display: inline-block;



        cursor: pointer;

        order: 4;


    }

    .sale-offer-page .view-detail-btn {
        border: none;
        background: linear-gradient(90deg, #FE4E44 0%, #9F0900 100%);
        color: white;
        border-radius: 20px;
        padding: 12px 30px;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        width: 100%;
    }

    .sale-offer-page .product-card {
        width: 48%;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 16px;
        padding: 10px;
        height:auto !important;
    }

    .sale-offer-page .product-details-col{
        margin-bottom: 0;
    }

    .sale-offer-page .product-details-col,
    .sale-offer-page .contact-seller-col {
        /* display: none; */
    }

    .sale-offer-page .product-image {
        width: 100%;
        height: 100%;
    }

    .sale-offer-page #product-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sale-offer-page .sidebarf-for {
        width: 300px;
        padding: 20px;
        background: #f9f9f9;
        border: 1px solid #ddd;
        position: fixed;
        top: 70px;
        left: 0;
        height: 100%;
        overflow-y: auto;
        z-index: 1050;



    }

}

@media(max-width:430px) {
    .sale-offer-page .product-image {
        width: 100%;
        height: 100%;
    }

    .sale-offer-page .product-location {
        /* font-size: 9.02px; */
    }

    .sale-offer-page .product-title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .sale-offer-page .view-detail-btn {
        padding: 5px 18px;
        font-size: 12.89px;
    }

    .sale-offer-page .product-location {
        margin-top: 10px;
    }

    .sale-offer-page .pagination-arrow {
        width: 5px;
        height: 5px;
    }

    .sale-offer-page .pagination {
        font-size: 14px;
        display: flex;
        flex-direction: row;
        background-color: white;
        padding: 10px 2px;
        border: 1px solid #D5D5D5;
        border-radius: 4px;
        box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);

    }

    .sale-offer-page .pagination-number {
        width: 25px;
        height: 25px;
    }
.sale-offer-page .product-card{
    width: 100% !important;
}
    .sale-offer-page .hide-num {
        display: none;
    }

    .sale-offer-page .pagination-total {
        width: 35px;
        height: 25px;
    }

    .sale-offer-page .hidden {
        justify-content: space-between !important;
    }
}