.mop-note {
    margin-top: 10px;
}
.mop-wrap {
  max-width: 1400px;
  margin: 40px auto;
  padding: 30px;
  background: #f3f4f6;
  border-radius: 20px;
  font-family: Arial, sans-serif;
}
.mop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}
.mop-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
}
.mop-actions {
  display: flex;
  gap: 12px;
}
.mop-wrap .button,
.mop-wrap .button-primary {
  background: #48458c !important;
  border: none !important;
  color: #fff !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  box-shadow: none !important;
}
.mop-wrap .button:hover,
.mop-wrap .button-primary:hover {
  background: #5472d2 !important;
}
.mop-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}
.mop-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  color: #111827;
  font-weight: 700;
}
.mop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mop-product-row {
  display: grid;
  grid-template-columns: 2fr 120px 150px 40px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.mop-wrap input,
.mop-wrap select {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  background: #fff !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
.mop-wrap input:focus,
.mop-wrap select:focus {
  border-color: #48458c !important;
  outline: none !important;
}
.mop-wrap input[type="radio"],
.mop-wrap input[type="checkbox"] {
  width: auto !important;
  min-height: auto !important;
  transform: scale(1.1);
  margin-right: 6px;
}
input#mop-different-shipping {
    width: 12px !important;
}
.select2-container {
  width: 100% !important;
}
.select2-container .select2-selection--single {
  height: 48px !important;
  border-radius: 10px !important;
  border: 1px solid #d1d5db !important;
}
span.select2-selection.select2-selection--single {
  height: 42px !important;
}
.select2-selection__rendered {
  line-height: 46px !important;
}
.select2-selection__arrow {
  height: 46px !important;
}
span#select2-mop-customer-container {
  line-height: 40px !important;
}
.mop-remove {
  color: #ef4444;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}
.mop-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.mop-total-box {
  background: #f9fafb;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
}
.mop-total-box input {
  min-height: 38px !important;
  height: 38px !important;
  padding: 4px 10px !important;
}
.mop-total-box label,
.mop-total-box span {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.mop-total-box select {
  width: 70px !important;
  min-width: 30px !important;
  /*max-width: 70px !important;*/
  min-height: 38px !important;
  height: 38px !important;
  padding: 4px 10px !important;
}
#mop-total {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}
#mop-products-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mop-products-toolbar {
  flex: 0 0 40px;
  padding-top: 9px;
}

#mop-products {
  flex: 1;
}

#mop-add-product-inline {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #48458c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  user-select: none;
}

#mop-add-product-inline:hover {
  background: #5472d2;
  transform: scale(1.05);
}
#mop-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}
#mop-toast {
  min-width: 320px;
}
.mop-wrap .button,
.mop-wrap .button-primary {
  text-transform: capitalize;
}
.select2-results__option .mop-product-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.select2-results__option .mop-product-option img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.select2-selection__rendered .mop-selected-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select2-selection__rendered .mop-selected-product img {
  width: 42px;
  height: 40px;
  object-fit: cover;
}
.mop-product-select-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mop-product-preview {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  flex-shrink: 0;
}

.mop-product-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .mop-grid {
    grid-template-columns: 1fr;
  }
  .mop-product-row {
    grid-template-columns: 1fr;
  }
  .mop-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================
   SHIPPING SIDEBAR
========================================= */

.mop-sidebar-shipping{
    position:fixed;
    top:120px;
    right:30px;
    width:320px;
    z-index:99;
}

.mop-sidebar-shipping .mop-card{
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

#mop-shipping-methods{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.mop-shipping-method{
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:14px;
    cursor:pointer;
    transition:0.2s ease;
    background:#fff;
}

.mop-shipping-method:hover{
    border-color:#48458c;
    background:#f8f9ff;
}

.mop-shipping-method.active{
    border-color:#48458c;
    background:#eef2ff;
}

.mop-shipping-method label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    width:100%;
    gap:10px;
}

.mop-shipping-method input{
    margin-right:8px;
}

.mop-shipping-empty{
    font-size:14px;
    color:#666;
    background:#f9fafb;
    padding:14px;
    border-radius:10px;
}

@media(max-width:1600px){

    .mop-sidebar-shipping{
        position:relative;
        width:100%;
        right:auto;
        top:auto;
        margin-bottom:20px;
    }

}