#megaquickorderform .searchblock {
    display: flex;
    gap: 20px;
    align-items: center;

}
#megaquickorderform .headblock {
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
    padding: 15px 0px;
    margin-bottom: 15px;
}
#megaquickorderform .contentheader {
    display: flex;
}
#megaquickorderform .searchblock .searchinside {
    width: 235px;
    
}
#megaquickorderform .totalitems {
    line-height: 55px;
}
.megaquickorder_content {
    position: relative;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

#megaquickorderform .ajaxressult {
    display: none;
    position: absolute;
    background: white;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.58);
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.58);
    z-index: 10;
    top: 75px;
    left: 0px;
    width: max-content;
    max-height: 360px;
    overflow-y: auto;
    max-width: 100%;
    padding: 5px 15px 15px 15px;
    border-radius: var(--border-radius-custom);
}
.megaquickorder_content .input-group .btn {
    background: var(--color3);
    color: white;
    padding: 0;
    width: 40px;
}
#megaquickorderform .ajaxressult::-webkit-scrollbar {
  width: 6px;
}
.megaquickorder_content .input-group {
    gap: 5px;
}
/* Track */
#megaquickorderform .ajaxressult::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
#megaquickorderform .ajaxressult::-webkit-scrollbar-thumb {
  background: black;
}

#megaquickorderform ul.ajaxressult li {
    cursor: pointer;
    padding: 0px;
    border-bottom: 1px solid #d7d7d7;
}
#megaquickorderform ul.ajaxressult li .name {
    font-weight: bold;
    display: block;
        margin-top: 10px;
}

.viewtype2 .html_attribute {
    display: none;
}
#combinations-modal .modal-dialog {
    width: 100%;
    max-width: 90%;
    height: calc(100vh - 75px);
    margin: 20px auto;
}
#combinations-modal .modal-content {
    height: 100%;
    overflow: auto;
}

#combinations-modal .quickview  .modal-content {
    display: flex;
    flex-wrap: wrap;
}
#combinations-modal .quickview .product-additional-info.js-product-additional-info {
    margin-top: 15px;
    width: 100%;
}

#combinations-modal .quickview  .modal-content .modal-body, #combinations-modal .quickview .modal-footer {
    width: 50%;
}
#combinations-modal .quickview  .modal-content .modal-header {
    width: 100%;
}
#combinations-modal .quickview  .social-sharing{
    display: none
}

#megaquickorder-table tr td{
    line-height: 56px;
}
#megaquickorder-table .current td.delete button {
    display: none;
}
#combinations-modal .qty-input {
    max-width: 75px;
    width: 75px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 16px;
  
}
#combinations-modal .input-group .btn {
    width: 45px;
    height: 45px;
    border: 1px solid #b8b8b8;

}
#megaquickorder-table tr td.product-quantity .input-group {
    width: 166px;
    margin: 0 auto;
    gap: 5px
}
button.btn.btn-danger.delete-line {
    background: none;
}
.input-group .qty-input {
    line-height: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--color3);
    max-width: 100px;
}
.input-groupl .btn-decrease, .btn-increase {
    width: 40px;
    height: 40px;
    font-size: 18px;
    padding: 0;
}
#megaquickorder-table tr td span.input-group-btn .btn {
    width: 46px;
    padding: 0px 0px;
    display: block;
    line-height: 37px;
    border: 1px solid var(--color3);
    height: 40px;
    background: var(--color3);
    color: white;
}
/* Para Webkit (Chrome, Safari, Edge) */
#combinations-modal input[type=number]::-webkit-outer-spin-button, #combinations-modal input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para Firefox */
#combinations-modal input[type=number] {
    -moz-appearance: textfield;
}
#combinations-modal .datatableInit {
    width: 100% !important;
}
#combinations-modal .datatableInit tbody td{
    line-height: 36px;
}
#combinations-modal tr select {
    line-height: 24px;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
}
#combinations-modal  .modal-footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px;
    background-color: white;
    border-top: 1px solid #dee2e6;
    display: block;
    z-index: 11;
    text-align: center;
}
#combinations-modal .modal-footer-fixed .btn {
    background: #0f8f00;
    color: white;
}
div#uploadfilecontent {
    border-top: 2px solid black;
    margin-top: 50px;
    padding-top: 40px;
}

div#uploadfilecontent input {
    width: 340px;
}
.flexcontent {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.flexcontent > p {
    margin-bottom: 0px;
}
tr.lineitem.loading td {
    opacity: 0.5; /* Mantienes la opacidad como ya lo tienes */
}
tr.lineitem.loading{
    position: relative; /* Necesario para que el pseudo-elemento se posicione bien */
}
tr.lineitem.loading > td:first-child:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Fondo blanco con opacidad */
    z-index: 1; /* Por encima del contenido */
}
tr.lineitem.loading > td:first-child:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px; /* Para centrar verticalmente */
    margin-left: -12px; /* Para centrar horizontalmente */
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #000; /* Color del borde superior del spinner */
    animation: spin 1s ease-in-out infinite;
}
#megaquickorder-table .center {
    text-align: center;
}
.btn-buy {
    background: black;
    color: white;
}
span#emptycart {
    width: fit-content;
    border: 1px solid #c5c5c5;
    display: inline-block;
    padding: 0px 18px;
    line-height: 34px;
    cursor: pointer;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
#megaquickorder-table tr td.bold{
    font-weight: bold;
}
@media(max-width:991px) {
	#megaquickorder-table tr td.product-name {
    	line-height: 28px;
	}
	table.table.datatableInit {
    	width: 100%;
    	min-width: 780px;
	}
}

@media(max-width:767px) {
	#megaquickorderform .contentheader {
    	flex-wrap: wrap;
	}	
	.headblock.totalitems {
    	width: 100%;
    	text-align: left !important;
    	padding: 0px !important;
    	border-top: 0px !important;
	}
	#megaquickorderform .searchblock {
    	border-bottom: 0px;
    	margin: 0px;
    	width: 100%;
	}
	#megaquickorderform .searchblock {
    	flex-wrap: wrap;
    	gap: 5px;
	}
	#megaquickorderform .searchblock .searchinside {
    	width: calc(100% - 80px);
	}
	.container_table_products {
    	overflow-x: auto;
	}
}
