body,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
li,
p {
    font-family: "Roboto", sans-serif;
}
a{
    text-decoration:none !important;
}
/* ----------- Header Filter Css Start -------------------*/
 .Search-Filter-button {
      background: none;
      border: none;
      font-size: 18px;
      color: #6c757d;
      cursor: pointer;
    }

    /* Custom Modal Slide from Right */
    .Search-Filter-modal .modal-dialog {
      position: fixed;
      top: 0;
      right: 0;
      margin: 0;
      height: 100%;
      width: 350px;
      max-width: 100%;
      transform: translateX(100%);
      transition: transform 0.3s ease-in-out;
    }

    .Search-Filter-modal.show .modal-dialog {
      transform: translateX(0);
    }

    .Search-Filter-modal .modal-content {
      height: 100%;
      border: none;
      border-left: 1px solid #dee2e6;
      border-radius: 0;
    }

    .Search-Filter-header {
      background-color: #f8f9fa;
      border-bottom: 1px solid #dee2e6;
    }

    .Search-Filter-body {
      padding: 20px;
      overflow-y: auto;
    }

    .Search-Filter-section {
      margin-bottom: 20px;
    }

    .Search-Filter-section-header {
      font-weight: 600;
      font-size: 14px;
      color: #495057;
      cursor: pointer;
      padding: 10px 0;
      border-bottom: 1px solid #dee2e6;
    }

    .Search-Filter-item {
      font-size: 13px;
      color: #6c757d;
      padding: 6px 0;
      cursor: pointer;
    }

    .Search-Filter-item.main {
      font-weight: 600;
      color: #343a40;
    }

    .Search-Filter-item:hover {
      color: #212529;
    }

    .Search-Filter-footer {
      border-top: 1px solid #dee2e6;
      padding: 15px;
    }

    /* Override Bootstrap fade behavior for sliding modal */
    .modal.fade .modal-dialog {
      transition: transform 0.3s ease-in-out;
      transform: translateX(100%);
    }

    .modal.fade.show .modal-dialog {
      transform: translateX(0);
    }
/* -----------End Filter Css Start -----------------------*/

/*======================================== Start Main Welcome css =======================================================*/
/*  Secondary-nav*/

.secondary-nav {
    background-color: #f0f2f7;
    border-bottom: 1px solid #e9ecef;
    padding: 0.5rem 0;
    border-color: #d5d5d5;
}

.nav-categories {
    display: flex;
    align-items: center;
    gap: 10px !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    margin-left: 0px;
    color: #0a0a0a;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #495057;
    text-decoration: none;
}

.nav-link.active {
    color: #495057;
    font-weight: 500;
}

.dropdown-icon {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

.marketplace-section {
    background-color: #f0f2f7;
    padding: 2rem 0;
}

.welcome-section {
    padding-bottom: 40px;
    height: auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.welcome-text {
    color: #666;
    font-size: 16px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.category-card a{
    text-decoration:none;
}
.category-header {
    padding: 10px;
    font-weight: 60;
    font-size: 16px;
    color: #333;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.category-image {
    width: 100%;
    height: 200px;
    background-color: #ffffff;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 1rem;
    width: calc(100% - 2rem);
    height: 180px;
    border-radius: 8px;
}

.category-grid {
    gap: 1rem;
}

.category-image {
    height: 160px;
    margin: 0.8rem;
    width: calc(100% - 1.6rem);
}

/*================================ End Main Welcome css ==============================================*/



/*================================ Product page css start ==============================================*/
/* marketplace */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Fixed 4 columns */
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    background-color: #ffffff;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 1rem;
    width: calc(100% - 2rem);
    height: 180px;
    border-radius: 8px;
}
/*  */

.product-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 3px 1px #0000002b;
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-image {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    position: relative;
}

.product-img {
    width: 100%;
    max-width: 200px;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
}

.img-placeholder {
    width: 100%;
    max-width: 200px;
    height: 120px;
    background: #e9ecef;
    border: 2px dashed #adb5bd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

.heart-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.heart-icon:hover {
    color: #e91e63;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-details {
    font-size: 12px;
    color: #666;
}

.product-details .row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-details .col-6 {
    flex: 0 0 50%;
    color: #333;
}



.product-details .col-4 {
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.view-detail-btn {
    background: black;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
    text-decoration: none;
}

.view-detail-btn:hover {
    background: #0056b3;
    color: white;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.custom-pagination .page-link {
    color: #666;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 4px;
}

.custom-pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.custom-pagination .page-link:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}



.header-section {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 30px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.filter-icon {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
}

.btn-apply {
    width: 100%;
    background-color: #007bff;
    border-color: #007bff;
    font-weight: 500;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
}

.btn-apply:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.chevron {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.chevron.rotated {
    transform: rotate(180deg);
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.custom-pagination .page-link {
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    transition: all 0.2s ease;
}

.custom-pagination .page-item.active .page-link {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.custom-pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.custom-pagination .page-item.active .page-link:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link {
    font-size: 13px;
    padding: 8px 16px;
}

.custom-pagination .page-item.disabled .page-link {
    color: #adb5bd;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/*================================ Product page css End ==============================================*/
/*================================ NO-Product page css start ==============================================*/
/* Updated main content and circle centering */
.main-content {
    min-height: calc(100vh - 300px);
    /* Adjust based on header/footer height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.empty-state {
    text-align: center;
    max-width: 450px;
    width: 100%;
    margin: auto;
    padding: 0 15px;

}

.empty-circle {
    width: 377px;
    height: 345px;
    max-width: 100%;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    background-color: white;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
}

.empty-message {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
    word-wrap: break-word;
}

.back-link {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    word-wrap: break-word;
}

.back-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-count {
    color: #666;
    margin-bottom: 1rem;
}


/*================================ NO-Product page css END ==============================================*/


/*================================   Product-Detail START ==============================================*/

.product-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.availability-text {
    color: #666;
    font-size: 12px;
    margin-bottom: 25px;
}

.main-product-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.thumbnail-container {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: border-color 0.3s;
    object-fit: contain;
    background: white;
}

.thumbnail:hover {
    border-color: #999;
}

.thumbnail.active {
    border-color: #007bff;
}

.price-container {
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 14px;
    color: #000;
    font-weight: normal;
}

.price-value {
    font-size: 18px;
    font-weight: bold;
    color: #3b82f6;
}

.minimum-order {
    font-size: 11px;
    color: #666;
}

.info-row {
    display: flex;
    margin-bottom: 3px;
}

.info-label {
    font-weight: normal;
    color: #000;
    font-size: 16px;
}

.product-info {
    /*background: #F0F0F0;*/
    padding: 20px;
}

.info-value {
    color: #666;
    font-size: 16px;
}

.button-container {
    display: flex;
    gap: 4%;
    margin-bottom: 25px;
}

.button-container .btn {
    border: none;
    color: white;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: normal;
    width: 48%;
}

.button-container .btn:hover {
    background-color: black;
}

.btn-chat {
    background-color: #4a4a4a !important;
}

.btn-offer {
    background-color: #3b82f6 !important;
}

.description-section {
    margin-top: 20px;
}

.description-title {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-bottom: 12px;
}

.description-content {
    color: #000;
    font-size: 16px;
}

.description-content p {
    margin-bottom: 8px;
}

.printer-list {
    padding: 0;
    margin: 8px 0;
}

.printer-list li {
    color: #000;
    font-size: 16px;
    margin-bottom: 2px;
    position: relative;
}

.specifications {
    margin-top: 12px;
}

.spec-title {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    margin-bottom: 6px;
}

.good-condition {
    color: #3b82f6;
}

.left-arrow,
.right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    z-index: 10;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.image-container {
    position: relative;
}

/*================================ Product-Detail END  ==============================================*/
.buy-chat-arrow {
    width: 120px;
}

/*================================ ADD TO CART START  ==============================================*/
.product-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.product-image-container {
    flex: 0 0 280px;
}

.product-image {
    width: 100%;
    height: 240px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 40px 20px;
}

.product-details-section {
    flex: 1;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.spec-row {
    display: flex;
    gap: 20px;
}

.spec-item {
    display: flex;
    gap: 5px;
}

.spec-label {
    font-weight: 500;
    color: #888;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 20px;
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

.quantity-input {
    width: 60px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.delete-btn {
    background: none;
    border: none;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

.pricing-section {
    margin-left: auto;
    width: 400px;
    margin-right: 127px;
}


.pricing-table {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.pricing-header {

    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.pricing-body {
    padding: 15px 20px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.pricing-row:last-child {
    margin-bottom: 0;
}

.total-row {
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.main-bottom {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.fund-transfer-section {
    flex: 1;
    margin-left: 60px;
}

.fund-transfer-title {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    margin-bottom: 15px;
}

.fund-transfer-details {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.fund-transfer-details div {
    margin-bottom: 4px;
}

.payment-details-section {
    flex: 0 0 500px;
    margin-right: 100px;
}

.payment-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    background: white;
}

.payment-title {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: white;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: #1C75BC;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.upload-group {
    display: flex;
    gap: 0;
}

.upload-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    color: #333;
    background: white;
}

.browse-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.confirm-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 15px;
}

.confirm-btn:hover {
    background: #0056b3;
}

.help-text {
    text-align: center;
    font-size: 13px;
    color: #666;
}

.help-link {
    color: #007bff;
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
}

/*================================ ADD TO CART END  ==============================================*/
/*================================ BUY CART END  ==============================================*/
.buy-chat-container {
    background-color: #f5f5f5;
}

.buy-chat-header {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 0;
    margin: 1rem;
    border-radius: 4px;
}

.buy-chat-nav-tabs {
    border: none;
    margin-bottom: 0;
    padding-left: 0;
}

.buy-chat-nav-link {
    color: #6c757d;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 400;
    background: transparent;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.875rem;
}

.buy-chat-nav-link.active {
    color: #0d6efd;
    background: transparent;
    border-bottom: 2px solid #0d6efd;
}

.buy-chat-main-content {
    display: flex;
}

.buy-chat-left-panel {
    background-color: white;
    border-right: 1px solid #e9ecef;
    width: 45%;
}

.buy-chat-product-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.8rem;
    color: #666666;
    font-weight: 400;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
}

.buy-chat-product-item {
    margin-right: 5px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: #f8f8f8;
}

.buy-chat-product-item:hover {
    background-color: #f0f0f0;
}

.buy-chat-product-image {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;

}

.buy-chat-ink-bottles {
    display: flex;
    gap: 1px;
}

.buy-chat-ink-bottle {
    width: 6px;
    height: 10px;
    border-radius: 1px;
}

.buy-chat-ink-bottle:nth-child(1) {
    background-color: #2196f3;
}

.buy-chat-ink-bottle:nth-child(2) {
    background-color: #ff9800;
}

.buy-chat-ink-bottle:nth-child(3) {
    background-color: #e91e63;
}

.buy-chat-ink-bottle:nth-child(4) {
    background-color: #4caf50;
}

.buy-chat-product-info h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333333;
}

.buy-chat-product-info p {
    margin: 0;
    font-size: 0.75rem;
    color: #757575;
}

.buy-chat-product-status {
    margin-left: auto;
    text-align: right;
}

.buy-chat-status-replied {
    color: #757575;
    font-size: 0.75rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.buy-chat-status-date {
    color: #757575;
    font-size: 0.75rem;
}

.buy-chat-right-panel {
    background-color: white;
    width: 55%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.buy-chat-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.buy-chat-close-btn:hover {
    color: #343a40;
}

.buy-chat-avatar {
    padding-left: 10px;
    /* width: 80px;
            height: 80px; */
    /* background-color: #343a40; */
    border-radius: 50%;
    display: flex;
    align-items: left;
    justify-content: left;
    margin: 2rem auto 1rem;
}

.buy-chat-avatar i {
    color: white;
    font-size: 2rem;
}

.buy-chat-dialog-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #343a40;
    font-weight: 500;
}

.buy-chat-tabs-container {
    margin: 0;
}

.buy-chat-dialog-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background-color: transparent;
    margin: 0;
}

.buy-chat-dialog-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    border: none;
    background: transparent;
    color: #666666;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    /* border-bottom: 2px solid transparent; */
}

.buy-chat-dialog-tab.active {
    background-color: transparent;
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
}

.buy-chat-questions-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem;
}

.buy-chat-question-item {
    margin-top: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    color: #333333;
}

.buy-chat-question-item:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd;
}

.buy-chat-question-item.selected {
    background-color: #ffffff;
    border-color: #0d6efd;
    color: #333333;
}

.buy-chat-question-number {
    font-weight: 500;
    margin-right: 0.5rem;
}

.buy-chat-custom-input-container {
    padding: 0 2rem 2rem;
}

.buy-chat-custom-input {
    position: relative;
}

.buy-chat-custom-input input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: transparent;
    border-width: thin;
    border-radius: 8px;
    font-size: 0.875rem;
    background-color: white;
    margin-bottom: 0px;
    border-radius: 0 0 15px 15px;


}

.buy-chat-custom-input input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.buy-chat-send-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0.5rem;
}

.buy-chat-send-btn:hover {
    color: #0056b3;
}

.buy-chat-box {
    margin: 10px;
    border-style: solid;
    border-width: thin;
    border-radius: 15px;
}

/*================================ BUY TO CART END  ==============================================*/
/*================================ BUY TO CART 2 start  ==============================================*/
/* .chat-container {     
            max-width: 400px;
            margin: 0 auto;
            background: #e8e8e8;
            min-height: 100vh;
            position: relative;
        }
         */
.date-header {
    text-align: center;
    padding: 12px 0;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    background: #e8e8e8;
}

.chat-messages {
    padding: 10px 15px;
    min-height: calc(100vh - 160px);
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.4;
}

.message.user .message-bubble {
    background: #d1d1d1;
    color: #333;
    border-bottom-right-radius: 4px;
}

.message.bot .message-bubble {
    background: #4a4a4a;
    color: white;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    padding: 0 8px;
    font-weight: 400;
}

.message.user .message-time {
    text-align: right;
}

.message.bot .message-time {
    text-align: left;
}

/*================================ BUY TO CART 2 END  ==============================================*/
/*================================ BUY TO CART 3 START  ==============================================*/
.buy-chat-main-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.quantity-card {
    background: transparent;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    padding: 24px;
    min-width: 280px;
}

.quantity-label {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e8e8e8;
    font-size: 20px;
    font-weight: 300;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #d8d8d8;
}

.qty-input {
    width: 80px;
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    background: white;
    outline: none;
}

.qty-input:focus {
    border-color: #ccc;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: transparent;
}

.rupee-symbol {
    font-size: 22px;
    font-weight: 400;
    color: #333;
}

.price-amount {
    font-size: 20px;
    font-weight: 400;
    color: #333;
}

.send-btn {
    background: #4a4a4a;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 40px;
}

.send-btn:hover {
    background: #3a3a3a;
}

/*================================ BUY TO CART 3 END  ==============================================*/
/*================================ offer notification start  ==============================================*/
.offer-notification {

    display: flex;
    align-items: center;

}

.offer-sent {
    padding-right: 10px;
    color: #dc3545;
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
}

.offer-details {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.qty-section {
    color: #333;
    font-size: 15px;
}

.offer-price-section {
    color: #333;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rupee {
    color: #dc3545;
    font-size: 20px;
    font-weight: 400;
}

.total-section {
    color: #333;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.total-amount {
    color: #dc3545;
    font-size: 20px;
    font-weight: 300;
}

/*================================ offer notification END  ==============================================*/
/*================================ buy-chat-make-payment-btn start  ==============================================*/

.buy-chat-make-payment-btn {
    /*float: right;*/
    margin-bottom: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    max-width: 600px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.buy-chat-make-payment-btn:hover {
    background-color: #45a049;
}

.buy-chat-make-payment-btn:active {
    background-color: #3d8b40;
}

/*================================ buy-chat-make-payment-btn END  ==============================================*/

/*================================ Commission start  ==============================================*/
/* Background overlay to simulate the blurred background */
.Buy-Pay-commission-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
}

/* Background content simulation */
.Buy-Pay-commission-background-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f8f9fa;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* Modal styles */
.Buy-Pay-commission-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    width: 90%;
    max-width: 480px;
    animation: Buy-Pay-commission-modalSlideIn 0.3s ease-out;
}

@keyframes Buy-Pay-commission-modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.Buy-Pay-commission-modal-header {
    padding: 24px 24px 20px 24px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.Buy-Pay-commission-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin: 0;
}

.Buy-Pay-commission-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.Buy-Pay-commission-close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.Buy-Pay-commission-modal-body {
    padding: 24px;
}

.Buy-Pay-commission-modal-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
}

.Buy-Pay-commission-details {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.Buy-Pay-commission-security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #28a745;
    font-weight: 500;
}

.Buy-Pay-commission-security-badge i {
    font-size: 16px;
}

.Buy-Pay-commission-agreement-section {
    margin-bottom: 24px;
}

.Buy-Pay-commission-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.Buy-Pay-commission-custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #007bff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.Buy-Pay-commission-custom-checkbox.checked {
    background: #007bff;
    color: white;
}

.Buy-Pay-commission-checkbox-label {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.Buy-Pay-commission-link {
    color: #007bff;
    text-decoration: none;
}

.Buy-Pay-commission-link:hover {
    text-decoration: underline;
}

.Buy-Pay-commission-proceed-btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.Buy-Pay-commission-proceed-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.Buy-Pay-commission-proceed-btn:disabled {
    background: #1C75BC;
    cursor: not-allowed;
    transform: none;
}

/*================================ Commission end  ==============================================*/
/*================================ Payment-Commission start  ==============================================*/

.Payment-commission-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.Payment-commission-fund-transfer-section {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.Payment-commission-fund-transfer-section h3 {
    text-align: center;
    margin-bottom: 32px;
    font-weight: 600;
    color: #212529;
    font-size: 20px;
    line-height: 1.2;
}

.Payment-commission-transfer-info {
    color: #6c757d;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.Payment-commission-transfer-value {
    color: #212529;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.Payment-commission-qr-section {
    text-align: center;
}

.Payment-commission-qr-title {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.Payment-commission-qr-code {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    display: inline-block;
    padding: 8px;
}

.Payment-commission-qr-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            #000,
            #000 3px,
            transparent 3px,
            transparent 6px);
    opacity: 0.8;
    border-radius: 4px;
    position: relative;
}

.Payment-commission-qr-placeholder::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background:
        radial-gradient(circle at 20% 20%, #000 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, #000 2px, transparent 2px),
        radial-gradient(circle at 20% 80%, #000 2px, transparent 2px),
        linear-gradient(45deg, transparent 40%, #000 40%, #000 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #000 40%, #000 60%, transparent 60%);
    background-size: 10px 10px, 10px 10px, 10px 10px, 20px 20px, 20px 20px;
}

.Payment-commission-payment-details-section {
    border-style: solid;
    border-width: thin;
    background-color: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.Payment-commission-payment-details-section h4 {
    text-align: center;
    margin-bottom: 28px;
    font-weight: 600;
    color: #212529;
    font-size: 18px;
    line-height: 1.2;
}

.Payment-commission-form-label {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 400;
    line-height: 1.4;
}

.Payment-commission-form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
}

.Payment-commission-form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: 0;
}

.Payment-commission-form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.Payment-commission-file-upload-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.Payment-commission-file-upload {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px 12px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.Payment-commission-file-upload input[type="file"] {
    display: none;
}

.Payment-commission-file-upload-text {
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.Payment-commission-browse-btn {
    background-color: #D9D9D9;
    border: 1px solid #ced4da;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 12px;
    color: #495057;
    cursor: pointer;
    font-weight: 400;
    line-height: 1.4;
}

.Payment-commission-browse-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.Payment-commission-btn {
    background-color: #1C75BC;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    width: 100%;
    color: white;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.15s ease-in-out;
    line-height: 1.5;
}

.Payment-commission-btn:hover {
    background-color: #0056b3;
}

/*================================ Payment-Commission end  ==============================================*/
/* ///////////////////////////////////////////////////////////////////////////////////////////// */
.chat-tail {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    top: 66px;
    border-width: 20px 20px 20px 0;
    border-color: transparent #f0f0f0 transparent transparent;
}
/* ============== Start Media Query ==================== */
@media (max-width: 992px) {
    .main-content {
        min-height: calc(100vh - 280px);
        padding: 30px 15px;
    }

    .empty-circle {
        width: 320px;
        height: 290px;
        padding: 25px;
    }

    .search-title {
        font-size: 1.3rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .buy-chat-make-payment-btn {
        font-size: 17px;
        padding: 15px 28px;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .Payment-commission-container {
        margin: 16px auto;
        padding: 12px;
    }

    .Payment-commission-fund-transfer-section,
    .Payment-commission-payment-details-section {
        padding: 20px;
    }

    .Payment-commission-qr-code {
        width: 90px;
        height: 90px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .ink-bottle {
        width: 30px;
        height: 70px;
        font-size: 10px;
    }

    .product-title {
        font-size: 14px;
    }

    .product-details {
        font-size: 11px;
    }

    .main-content {
        min-height: calc(100vh - 250px);
        padding: 20px 10px;
    }

    .empty-circle {
        width: 280px;
        height: 260px;
        padding: 20px;
    }

    .empty-message {
        font-size: 13px;
        line-height: 1.3;
    }

    .search-title {
        font-size: 1.2rem;
    }

    .main-container {
        padding: 15px;
    }

    .thumbnail-container {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .thumbnail {
        flex-shrink: 0;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .btn-chat,
    .btn-offer {
        width: 100%;
    }

    .buy-chat-main-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 0 15px;
    }

    .quantity-card {
        width: 100%;
        max-width: 400px;
    }

    .price-section,
    .send-btn {
        margin-left: 0;
        align-self: center;
    }

    .send-btn {
        width: 120px;
    }
}

@media (max-width: 420px) {
    .offer-notification {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .offer-sent {
        padding-right: 0;
        font-size: 18px;
        margin-bottom: 5px;
    }

    .offer-details {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        justify-content: space-between;
    }

    .qty-section,
    .offer-price-section,
    .total-section {
        font-size: 14px;
    }

    .rupee,
    .total-amount {
        font-size: 16px;
    }

    .offer-price-section,
    .total-section {
        align-self: stretch;
        justify-content: space-between;
    }
}


/* ============== End Media Query ==================== */