body.expiry-offers-page {
  color: #24344d;
  background: #eef3f8;
  font-size: 14px;
}

body.expiry-offers-page .content-wrapper {
  min-height: calc(100vh - 50px);
  background: linear-gradient(135deg, #f7f9fc 0%, #edf3f9 100%);
}

body.expiry-offers-page .main-sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, #142e43, #172a37);
}

body.expiry-offers-page .sidebar-menu > li > a {
  padding-top: 13px;
  padding-bottom: 13px;
  font-size: 14px;
}

body.expiry-offers-page .sidebar-menu > li.active > a {
  border-left-color: #fff;
  background: linear-gradient(90deg, #1686c8, #309dd5);
  color: #fff;
}

.expiry-offers-heading {
  padding: 24px 24px 0;
}

.expiry-offers-heading > h1 {
  color: #18263a;
  font-size: 25px;
  font-weight: 400;
}

.expiry-offers-heading > h1 small {
  padding-left: 8px;
  color: #8390a5;
  font-size: 13px;
}

.expiry-offers-heading > .breadcrumb {
  top: 25px;
  right: 24px;
}

.expiry-offers-content {
  padding: 28px 24px 22px;
}

.expiry-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.expiry-summary-card {
  overflow: hidden;
  min-height: 128px;
  border: 1px solid #d9e1ea;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(30, 49, 74, .05);
}

.expiry-summary-main {
  display: flex;
  min-height: 82px;
  align-items: center;
  padding: 16px 20px 12px;
  gap: 16px;
}

.expiry-summary-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 24px;
}

.expiry-summary-main strong,
.expiry-summary-main span {
  display: block;
}

.expiry-summary-main strong {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 700;
}

.expiry-summary-main div > span {
  color: #4b5767;
  font-size: 12px;
}

.expiry-summary-card > a {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px;
  border-top: 1px solid #e5e9ee;
  color: inherit;
  font-size: 12px;
}

.expiry-summary-card.is-critical {
  border-color: #f1c9c6;
  background: linear-gradient(135deg, #fff 60%, #fff4f3);
  color: #df3c36;
}

.expiry-summary-card.is-warning {
  color: #f18a00;
}

.expiry-summary-card.is-upcoming {
  color: #1c62c9;
}

.expiry-summary-card.is-safe {
  border-color: #d8e7d8;
  background: linear-gradient(135deg, #fff 60%, #f5fcf5);
  color: #159c48;
}

.expiry-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(350px, .95fr);
  align-items: stretch;
  gap: 14px;
  margin-bottom: 22px;
}

.expiry-panel {
  overflow: hidden;
  border: 1px solid #dbe2ea;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(26, 44, 69, .04);
}

.expiry-panel-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid #e2e7ed;
}

.expiry-panel-header h2 {
  margin: 0;
  color: #1d2c40;
  font-size: 16px;
  font-weight: 700;
}

.expiry-panel-header h2 i {
  margin-right: 8px;
  color: #515b68;
}

.expiry-heading-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  border-radius: 50%;
  background: #ed3d3d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.expiry-alert-table-wrap {
  overflow-x: auto;
  padding: 0 16px;
}

.expiry-alert-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.expiry-alert-table th {
  padding: 7px 8px 2px;
  color: #26354a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.expiry-alert-table td {
  padding: 7px 8px;
  border-top: 1px solid #e7ebef;
  border-bottom: 1px solid #e7ebef;
  background: #fff;
  color: #25354a;
  font-size: 12px;
  vertical-align: middle;
}

.expiry-alert-table td:first-child {
  border-left: 1px solid #e7ebef;
  border-radius: 4px 0 0 4px;
}

.expiry-alert-table td:last-child {
  border-right: 1px solid #e7ebef;
  border-radius: 0 4px 4px 0;
}

.expiry-alert-table tr.is-extra-alert {
  display: none;
}

.expiry-alert-table.show-all tr.is-extra-alert {
  display: table-row;
}

.expiry-product {
  display: flex;
  min-width: 250px;
  align-items: center;
  gap: 12px;
}

.expiry-product img {
  width: 30px;
  height: 38px;
  flex: 0 0 30px;
  object-fit: contain;
}

.expiry-product strong {
  display: block;
  color: #1464bf;
  font-size: 12px;
  font-weight: 600;
}

.expiry-product small {
  display: block;
  margin-top: 3px;
  color: #169154;
  font-size: 10px;
}

.expiry-stock-badge {
  display: inline-flex;
  min-width: 25px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #e84242;
  color: #fff;
  font-weight: 700;
}

.expiry-days-badge {
  display: inline-block;
  min-width: 54px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #fde4e4;
  color: #e13434;
  font-weight: 600;
  text-align: center;
}

.expiry-actions {
  display: flex;
  gap: 8px;
}

.expiry-actions .btn {
  min-width: 60px;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 11px;
}

.expiry-actions .btn-primary {
  border-color: #1381bf;
  background: linear-gradient(#2b99d1, #1678b3);
}

.expiry-warning-note {
  display: flex;
  min-height: 48px;
  align-items: center;
  margin: 10px 16px 14px;
  padding: 10px 14px;
  border: 1px solid #f5d1ce;
  border-radius: 4px;
  background: #fff4f3;
  color: #d73e37;
  font-size: 11px;
  gap: 10px;
}

.expiry-warning-note i {
  font-size: 17px;
}

.expiry-panel-footer {
  padding: 14px 16px 18px;
  border-top: 1px solid #e6eaf0;
}

.expiry-panel-footer .btn {
  border-color: #cfd8e2;
  color: #35465c;
  font-size: 11px;
}

.expiry-panel-footer .btn i {
  margin-right: 6px;
}

.expiry-empty-cell {
  height: 125px;
  color: #7c899a !important;
  text-align: center;
}

.offer-builder-panel form {
  padding: 12px 16px 16px;
}

.offer-builder-panel .form-group {
  margin-bottom: 15px;
}

.offer-builder-panel label {
  margin-bottom: 7px;
  color: #27374c;
  font-size: 12px;
  font-weight: 400;
}

.offer-builder-panel .form-control,
.offer-builder-panel .input-group-addon {
  height: 37px;
  border-color: #cbd5e0;
  border-radius: 3px;
  font-size: 12px;
}

.offer-builder-panel textarea.form-control {
  height: 68px;
  resize: vertical;
}

.offer-pricing-row,
.offer-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.offer-current-price {
  display: block;
  padding-top: 7px;
  color: #26364b;
  font-size: 14px;
  font-weight: 500;
}

.offer-discount-group strong {
  display: block;
  color: #08a547;
  font-size: 12px;
}

.offer-pos-note {
  display: flex;
  min-height: 48px;
  align-items: center;
  margin: 2px 0 16px;
  padding: 10px 12px;
  border: 1px solid #cce1f2;
  border-radius: 4px;
  background: #eef8ff;
  color: #2075bd;
  font-size: 11px;
  gap: 9px;
}

.offer-pos-note i {
  font-size: 16px;
}

.offer-form-actions {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
}

.offer-form-actions .btn {
  min-width: 88px;
  min-height: 36px;
  border-radius: 3px;
  font-size: 11px;
}

.offer-form-actions .btn-success {
  min-width: 180px;
  border-color: #07a346;
  background: linear-gradient(#12b85a, #079f45);
}

.expiry-all-alerts {
  display: none;
  margin-bottom: 20px;
  border: 1px solid #dbe3ec;
  border-radius: 6px;
  background: #fff;
}

.expiry-all-alerts.is-visible {
  display: block;
}

.expiry-all-alerts > header {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #e4e9ef;
}

.expiry-all-alerts > header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.expiry-all-alerts > header span {
  color: #748399;
  font-size: 11px;
}

.expiry-all-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
  gap: 8px;
}

.expiry-all-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 58px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #e4e9ef;
  border-radius: 4px;
  gap: 9px;
}

.expiry-all-item.is-filtered-out {
  display: none;
}

.expiry-all-item img {
  width: 28px;
  height: 35px;
  object-fit: contain;
}

.expiry-all-item strong,
.expiry-all-item small {
  display: block;
}

.expiry-all-item strong {
  overflow: hidden;
  color: #2c3b50;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expiry-all-item small {
  margin-top: 3px;
  color: #8793a4;
  font-size: 9px;
}

.expiry-all-item em {
  padding: 4px 7px;
  border-radius: 8px;
  background: #edf2f7;
  color: #617085;
  font-size: 10px;
  font-style: normal;
}

.expiry-page-tip {
  display: flex;
  min-height: 50px;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid #cbdff6;
  border-radius: 5px;
  background: #f3f8ff;
  color: #2c64ae;
  font-size: 12px;
  gap: 13px;
}

.expiry-page-tip i {
  color: #f1a400;
  font-size: 20px;
}

body.expiry-offers-page .expiry-offers-content {
  transition: padding-right .25s ease;
}

body.expiry-offers-page.expiry-details-open .expiry-offers-content {
  padding-right: 430px;
}

body.expiry-offers-page.expiry-details-open .expiry-workspace {
  grid-template-columns: minmax(0, 1fr);
}

body.expiry-offers-page.expiry-details-open .offer-builder-panel {
  display: none;
}

.expiry-product-drawer {
  position: fixed;
  top: 80px;
  right: 18px;
  bottom: 64px;
  z-index: 1045;
  width: 390px;
  overflow: hidden;
  border: 1px solid #d9e1e9;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(22, 41, 65, .16);
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 30px));
  transition: opacity .22s ease, transform .25s ease;
  visibility: hidden;
}

body.expiry-details-open .expiry-product-drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.expiry-drawer-header {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #dfe5ec;
  background: #fff;
}

.expiry-drawer-header h2 {
  margin: 0;
  color: #1f2e43;
  font-size: 17px;
  font-weight: 600;
}

.expiry-details-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #556376;
  font-size: 27px;
  font-weight: 300;
  line-height: 30px;
}

.expiry-details-close:hover,
.expiry-details-close:focus {
  color: #16243a;
  outline: 0;
}

.expiry-drawer-body {
  height: calc(100% - 54px);
  padding: 18px 16px 20px;
  overflow-y: auto;
}

.expiry-drawer-product {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  min-height: 112px;
  align-items: start;
  padding: 5px 4px 15px;
  gap: 16px;
}

.expiry-drawer-product > img {
  width: 55px;
  height: 88px;
  object-fit: contain;
}

.expiry-drawer-product h3 {
  margin: 3px 0 8px;
  color: #1263c4;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
}

.expiry-drawer-product p {
  margin: 0 0 6px;
  color: #27364a;
  font-size: 11px;
}

.expiry-drawer-product p strong {
  font-weight: 700;
}

.expiry-detail-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
  gap: 8px;
}

.expiry-detail-metrics article {
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  background: #fff;
}

.expiry-detail-metrics span,
.expiry-detail-metrics strong {
  display: block;
}

.expiry-detail-metrics span {
  margin-bottom: 9px;
  color: #59687c;
  font-size: 11px;
}

.expiry-detail-metrics strong {
  color: #17243a;
  font-size: 15px;
  font-weight: 700;
}

.expiry-detail-metrics strong.is-danger {
  color: #e42e2e;
}

.expiry-detail-info {
  margin-bottom: 11px;
  padding: 12px 13px;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
}

.expiry-detail-info h4,
.expiry-quick-actions h4 {
  margin: 0 0 12px;
  color: #1c2b3e;
  font-size: 12px;
  font-weight: 700;
}

.expiry-detail-info dl {
  margin: 0;
}

.expiry-detail-info dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 8px;
  gap: 12px;
}

.expiry-detail-info dl > div:last-child {
  margin-bottom: 0;
}

.expiry-detail-info dt,
.expiry-detail-info dd {
  color: #344257;
  font-size: 10px;
  font-weight: 400;
}

.expiry-detail-info dd {
  margin: 0;
  color: #1d2b3d;
  text-align: right;
}

.expiry-quick-actions {
  padding: 0 3px;
}

.expiry-quick-actions .btn {
  display: block;
  width: 100%;
  min-height: 36px;
  margin-bottom: 8px;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.expiry-quick-actions .btn i {
  width: 18px;
  margin-right: 4px;
}

.expiry-quick-actions .expiry-detail-create-offer {
  border-color: #1767df;
  background: linear-gradient(#2e7bea, #1763d3);
}

.expiry-quick-actions .expiry-detail-create-promotion {
  border-color: #6c4ed4;
  background: linear-gradient(#8062e5, #6746ca);
}

.expiry-quick-actions .expiry-detail-adjust-price {
  border-color: #14a753;
  background: linear-gradient(#2cbb69, #12a44e);
}

.expiry-quick-actions .expiry-detail-move-location {
  border-color: #f0a000;
  background: linear-gradient(#ffb40f, #f3a100);
}

.expiry-quick-actions .expiry-detail-stock-history {
  border-color: #2687cf;
  background: #fff;
  color: #1877be;
}

.expiry-quick-actions .expiry-detail-print-label {
  border-color: #d2d9e1;
  background: #f9fafb;
  color: #415064;
}

body.expiry-offers-page .modal-backdrop {
  z-index: 1070;
}

body.expiry-offers-page .modal-backdrop.in {
  opacity: .66;
}

.product-promotion-modal {
  z-index: 1080;
  padding-left: 0 !important;
}

.product-promotion-modal .modal-dialog {
  width: 650px;
  max-width: calc(100% - 24px);
  margin: 68px auto 24px;
}

.product-promotion-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 18px 55px rgba(12, 25, 45, .36);
}

.product-promotion-modal .modal-header {
  min-height: 72px;
  padding: 17px 20px 12px;
  border-bottom: 1px solid #e1e6ec;
  background: #fff;
}

.product-promotion-modal .modal-title {
  color: #17253a;
  font-size: 19px;
  font-weight: 700;
}

.product-promotion-modal .modal-header p {
  margin: 5px 0 0;
  color: #66758a;
  font-size: 12px;
}

.product-promotion-modal .modal-header .close {
  margin-top: -5px;
  color: #38475a;
  font-size: 29px;
  opacity: .9;
  text-shadow: none;
}

.product-promotion-modal .modal-body {
  max-height: calc(100vh - 210px);
  padding: 14px 18px 12px;
  overflow-y: auto;
}

.product-promotion-modal h5 {
  margin: 0 0 10px;
  color: #17253a;
  font-size: 12px;
  font-weight: 700;
}

.product-promotion-modal label {
  margin-bottom: 6px;
  color: #2a394e;
  font-size: 11px;
  font-weight: 600;
}

.product-promotion-modal .form-group {
  margin-bottom: 10px;
}

.product-promotion-modal .form-control,
.product-promotion-modal .input-group-addon {
  height: 36px;
  border-color: #ccd6e1;
  border-radius: 3px;
  font-size: 12px;
}

.promotion-product-strip {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 105px;
  min-height: 70px;
  align-items: center;
  margin-bottom: 16px;
  padding: 9px 12px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  gap: 10px;
}

.promotion-product-strip > img {
  width: 34px;
  height: 50px;
  object-fit: contain;
}

.promotion-product-strip h3 {
  margin: 0 0 6px;
  color: #1163c2;
  font-size: 14px;
  font-weight: 700;
}

.promotion-product-strip p {
  margin: 0;
  color: #26364a;
  font-size: 10px;
}

.promotion-product-strip p b {
  padding: 0 5px;
  color: #8390a0;
}

.promotion-current-price {
  align-self: stretch;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid #dfe5ec;
}

.promotion-current-price span {
  margin-bottom: 4px;
  color: #58677a;
  font-size: 10px;
}

.promotion-current-price strong {
  color: #17253a;
  font-size: 14px;
}

.promotion-type-section,
.promotion-config-section,
.promotion-validity-section {
  margin-bottom: 14px;
}

.promotion-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.promotion-type-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 60px;
  align-items: center;
  margin: 0 !important;
  padding: 9px 12px;
  border: 1px solid #d9e0e8;
  border-radius: 4px;
  background: #fff;
  gap: 8px;
  cursor: pointer;
}

.promotion-type-card.is-selected {
  border-color: #2b86ed;
  background: #f0f7ff;
  box-shadow: inset 0 0 0 1px #2b86ed;
}

.promotion-type-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.promotion-type-card > i {
  color: #2381eb;
  font-size: 22px;
  text-align: center;
}

.promotion-type-card span strong,
.promotion-type-card span small {
  display: block;
}

.promotion-type-card span strong {
  margin-bottom: 3px;
  color: #1c2c41;
  font-size: 12px;
}

.promotion-type-card.is-selected span strong {
  color: #1265c6;
}

.promotion-type-card span small {
  color: #637186;
  font-size: 10px;
  font-weight: 400;
}

.promotion-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 4px;
}

.promotion-discount-config,
.promotion-bundle-config {
  min-width: 0;
  padding: 12px;
  background: #fff;
}

.promotion-discount-config {
  border-right: 1px solid #e3e8ee;
}

.promotion-discount-config:not(.is-active),
.promotion-bundle-config:not(.is-active) {
  background: #fbfcfd;
}

.promotion-discount-methods > span {
  display: block;
  margin: 2px 0 4px;
  color: #526075;
  font-size: 10px;
}

.promotion-discount-methods > label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 140px;
  align-items: center;
  margin: 0 !important;
  min-height: 38px;
  gap: 6px;
  font-weight: 400;
}

.promotion-discount-methods > label > input {
  margin: 0;
}

.promotion-discount-methods .input-group {
  width: 140px;
}

.promotion-price-result {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: end;
  margin-top: 6px;
  gap: 10px;
}

.promotion-price-result > div:last-child {
  min-width: 0;
  margin-bottom: 10px;
}

.promotion-price-result > div:last-child label,
.promotion-price-result > div:last-child strong {
  display: block;
}

#promotionDiscountResult {
  min-height: 36px;
  padding: 10px 7px 0;
  border-radius: 4px;
  background: #e8f8ed;
  color: #0b9b48;
  font-size: 10px;
  white-space: nowrap;
}

#promotionDiscountResult.is-invalid {
  background: #fdeaea;
  color: #d83b3b;
}

.promotion-how-it-works {
  min-height: 58px;
  margin: -12px -12px 12px;
  padding: 9px 11px;
  border-bottom: 1px solid #f0d48d;
  background: #fff8e7;
  color: #25354a;
}

.promotion-how-it-works strong,
.promotion-how-it-works span {
  display: block;
}

.promotion-how-it-works strong {
  margin-bottom: 5px;
  font-size: 10px;
}

.promotion-how-it-works strong i {
  color: #f0a400;
}

.promotion-how-it-works span {
  font-size: 10px;
}

.promotion-bundle-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.promotion-effective-discount {
  display: flex;
  min-height: 54px;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid #f0d48d;
  border-radius: 4px;
  background: #fff9eb;
}

.promotion-effective-discount span {
  color: #526075;
  font-size: 10px;
}

.promotion-effective-discount strong {
  margin-top: 2px;
  color: #08a044;
  font-size: 15px;
}

.promotion-bundle-config > p {
  margin: 0 -12px -12px;
  padding: 10px 12px;
  border-top: 1px solid #f0d48d;
  background: #fff8e7;
  color: #445268;
  font-size: 9px;
}

.promotion-validity-section {
  padding-top: 1px;
}

.promotion-validity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 16px;
}

.promotion-days {
  display: block;
  height: 36px;
  padding: 10px 10px 0;
  border: 1px solid #cfe8d6;
  border-radius: 4px;
  background: #f0fbf3;
  color: #079541;
  font-size: 11px;
}

.promotion-options-section {
  padding-top: 12px;
  border-top: 1px solid #e3e8ee;
}

.promotion-no-expiry {
  display: flex;
  align-items: center;
  margin: 0 0 9px !important;
  gap: 7px;
  font-weight: 400 !important;
}

.promotion-no-expiry input {
  margin: 0;
}

.product-promotion-modal textarea.form-control {
  height: 48px;
  resize: vertical;
}

.product-promotion-modal .modal-footer {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: flex-end;
  padding: 11px 20px;
  border-top: 1px solid #e1e6ec;
  background: #fff;
  gap: 14px;
}

.product-promotion-modal .modal-footer:before,
.product-promotion-modal .modal-footer:after {
  display: none;
}

.product-promotion-modal .modal-footer .btn {
  min-width: 88px;
  min-height: 38px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.product-promotion-modal .modal-footer .btn-success {
  min-width: 145px;
  border-color: #09a34a;
  background: linear-gradient(#17b65a, #099d46);
}

.product-offer-modal {
  z-index: 1080;
  padding-left: 0 !important;
}

.product-offer-modal .modal-dialog {
  width: 470px;
  max-width: calc(100% - 24px);
  margin: 125px auto 30px;
}

.product-offer-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 18px 55px rgba(12, 25, 45, .34);
}

.product-offer-modal .modal-header {
  min-height: 60px;
  padding: 19px 18px;
  border-bottom: 1px solid #e0e5eb;
  background: #fff;
}

.product-offer-modal .modal-header .modal-title {
  color: #17253a;
  font-size: 18px;
  font-weight: 700;
}

.product-offer-modal .modal-header .close {
  margin-top: -4px;
  color: #3a485a;
  font-size: 28px;
  opacity: .9;
  text-shadow: none;
}

.product-offer-modal .modal-body {
  padding: 18px 18px 15px;
}

.product-offer-modal .form-group {
  margin-bottom: 15px;
}

.product-offer-modal label {
  margin-bottom: 7px;
  color: #26354a;
  font-size: 12px;
  font-weight: 600;
}

.product-offer-modal .form-control,
.product-offer-modal .input-group-addon {
  height: 38px;
  border-color: #cbd5e0;
  border-radius: 3px;
  color: #24344b;
  font-size: 12px;
}

.product-offer-modal textarea.form-control {
  height: 58px;
  resize: vertical;
}

.quick-offer-price-grid,
.quick-offer-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quick-current-price > span {
  display: flex;
  min-height: 56px;
  justify-content: center;
  flex-direction: column;
  padding: 7px 9px;
  border: 1px solid #dbe2ea;
  border-radius: 4px;
  background: #fff;
}

.quick-current-price del,
.quick-current-price strong {
  display: block;
  color: #8691a0;
  font-size: 11px;
}

.quick-current-price strong {
  margin-top: 4px;
  color: #1f2d40;
  font-size: 13px;
  font-weight: 700;
}

.quick-offer-discount strong {
  display: block;
  color: #0b9c49;
  font-size: 12px;
}

.quick-offer-discount strong.is-invalid {
  color: #dd3434;
}

.quick-offer-pos-note {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #cce1f3;
  border-radius: 4px;
  background: #edf7ff;
  color: #176cb2;
  font-size: 11px;
  gap: 9px;
}

.quick-offer-pos-note i {
  font-size: 15px;
}

.product-offer-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 62px;
  padding: 12px 18px;
  border-top: 1px solid #e1e6ec;
  background: #fff;
  gap: 14px;
}

.product-offer-modal .modal-footer:before,
.product-offer-modal .modal-footer:after {
  display: none;
}

.product-offer-modal .modal-footer .btn {
  min-width: 88px;
  min-height: 38px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.product-offer-modal .modal-footer .btn-success {
  min-width: 155px;
  border-color: #09a34a;
  background: linear-gradient(#17b65a, #099d46);
}

.price-adjustment-modal {
  z-index: 1080;
  padding-left: 0 !important;
}

.price-adjustment-modal .modal-dialog {
  width: 455px;
  max-width: calc(100% - 24px);
  margin: 68px auto 25px;
}

.price-adjustment-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 18px 55px rgba(12, 25, 45, .34);
}

.price-adjustment-modal .modal-header {
  min-height: 55px;
  padding: 17px 17px;
  border-bottom: 1px solid #e0e5eb;
  background: #fff;
}

.price-adjustment-modal .modal-title {
  color: #17253a;
  font-size: 16px;
  font-weight: 700;
}

.price-adjustment-modal .modal-header .close {
  margin-top: -5px;
  color: #38475a;
  font-size: 27px;
  opacity: .9;
  text-shadow: none;
}

.price-adjustment-modal .modal-body {
  max-height: calc(100vh - 190px);
  padding: 14px 16px 12px;
  overflow-y: auto;
}

.price-adjustment-modal .form-group {
  margin-bottom: 12px;
}

.price-adjustment-modal label {
  margin-bottom: 6px;
  color: #2a394e;
  font-size: 12px;
  font-weight: 600;
}

.price-adjustment-modal .form-control,
.price-adjustment-modal .input-group-addon {
  height: 34px;
  border-color: #ccd6e1;
  border-radius: 3px;
  font-size: 13px;
}

.price-adjustment-modal textarea.form-control {
  height: 50px;
  resize: vertical;
}

.price-adjustment-info {
  display: flex;
  min-height: 50px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 9px 10px;
  border: 1px solid #cde2f5;
  border-radius: 4px;
  background: #eaf5ff;
  color: #1f70b7;
  font-size: 11px;
  line-height: 17px;
  gap: 8px;
}

.price-adjustment-info i {
  margin-top: 2px;
  font-size: 13px;
}

.adjustment-product-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 74px;
  align-items: center;
  padding: 5px 8px 10px;
  border-bottom: 1px solid #e6eaf0;
  gap: 10px;
}

.adjustment-product-summary img {
  width: 36px;
  height: 58px;
  object-fit: contain;
}

.adjustment-product-summary h3 {
  margin: 0 0 5px;
  color: #1463c1;
  font-size: 14px;
  font-weight: 700;
}

.adjustment-product-summary p {
  margin: 0 0 4px;
  color: #26364a;
  font-size: 11px;
}

.adjustment-product-summary p b {
  padding: 0 5px;
  color: #788597;
}

.adjustment-price-grid {
  display: grid;
  grid-template-columns: .9fr 1.15fr 1.05fr;
  align-items: end;
  padding: 10px 0;
  border-bottom: 1px solid #e6eaf0;
  gap: 12px;
}

.adjustment-price-grid > div {
  min-width: 0;
}

.adjustment-price-grid label,
.adjustment-price-grid strong {
  display: block;
}

.adjustment-price-grid strong {
  min-height: 34px;
  padding-top: 9px;
  color: #1f2d40;
  font-size: 13px;
}

.adjustment-price-grid .adjustment-reduction {
  padding: 9px 5px 0;
  border-radius: 4px;
  background: #e8f8ed;
  color: #0b9b48;
  font-size: 11px;
  white-space: nowrap;
}

.adjustment-price-grid .adjustment-reduction.is-invalid {
  background: #fdeaea;
  color: #d83b3b;
}

.adjustment-method-section,
.adjustment-validity-section {
  padding: 10px 0;
  border-bottom: 1px solid #e6eaf0;
}

.adjustment-method-section h5,
.adjustment-validity-section h5 {
  margin: 0 0 9px;
  color: #25354a;
  font-size: 12px;
  font-weight: 700;
}

.adjustment-method-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 78px;
  min-height: 35px;
  align-items: center;
  margin: 0 !important;
  gap: 7px;
  cursor: pointer;
}

.adjustment-method-row > input[type="radio"] {
  margin: 0;
}

.adjustment-method-row > span:nth-child(2) {
  font-weight: 400;
}

.adjustment-method-row .input-group {
  width: 78px;
}

.adjustment-method-row .form-control,
.adjustment-method-row .input-group-addon {
  height: 30px;
  padding: 5px 7px;
  font-size: 11px;
}

.adjustment-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.adjustment-no-expiry {
  display: flex;
  align-items: center;
  margin: -3px 0 0 !important;
  font-weight: 400 !important;
  gap: 6px;
}

.price-adjustment-modal .modal-footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 16px;
  border-top: 1px solid #e1e6ec;
  background: #fff;
  gap: 12px;
}

.price-adjustment-modal .modal-footer:before,
.price-adjustment-modal .modal-footer:after {
  display: none;
}

.price-adjustment-modal .modal-footer .btn {
  min-width: 80px;
  min-height: 35px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.price-adjustment-modal .modal-footer .btn-success {
  min-width: 140px;
  border-color: #09a34a;
  background: linear-gradient(#17b65a, #099d46);
}

#expiryDetailsModal .expiry-details-dialog {
  width: 500px;
  max-width: calc(100% - 24px);
  margin: 90px auto;
}

#expiryDetailsModal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
}

#expiryDetailsModal .modal-header {
  border: 0;
  background: linear-gradient(90deg, #278fc7, #257fb4);
  color: #fff;
}

#expiryDetailsModal .modal-header .close {
  color: #fff;
  opacity: .9;
  text-shadow: none;
}

.expiry-details-list {
  margin: 0;
}

.expiry-details-list > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  padding: 9px 0;
  border-bottom: 1px solid #edf0f3;
}

.expiry-details-list > div:last-child {
  border-bottom: 0;
}

.expiry-details-list dt {
  color: #718096;
  font-weight: 400;
}

.expiry-details-list dd {
  margin: 0;
  color: #24344b;
  font-weight: 600;
}

@media (max-width: 1150px) {
  .expiry-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expiry-workspace {
    grid-template-columns: 1fr;
  }

  .expiry-all-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.expiry-offers-page.expiry-details-open .expiry-offers-content {
    padding-right: 420px;
  }
}

@media (max-width: 767px) {
  .expiry-offers-heading,
  .expiry-offers-content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .expiry-offers-heading > h1 small {
    display: block;
    padding: 6px 0 0;
  }

  .expiry-summary-grid,
  .expiry-all-grid {
    grid-template-columns: 1fr;
  }

  .offer-pricing-row,
  .offer-date-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .offer-form-actions .btn-success {
    min-width: 150px;
  }

  body.expiry-offers-page.expiry-details-open .expiry-offers-content {
    padding-right: 12px;
  }

  .expiry-product-drawer {
    top: 50px;
    right: 0;
    bottom: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  .product-offer-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 65px auto 15px;
  }

  .price-adjustment-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 55px auto 10px;
  }

  .product-promotion-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 55px auto 10px;
  }

  .promotion-product-strip,
  .promotion-type-grid,
  .promotion-config-grid,
  .promotion-validity-grid {
    grid-template-columns: 1fr;
  }

  .promotion-product-strip {
    text-align: center;
  }

  .promotion-product-strip > img {
    margin: 0 auto;
  }

  .promotion-current-price {
    padding: 8px 0 0;
    border-top: 1px solid #dfe5ec;
    border-left: 0;
  }

  .promotion-discount-config {
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
  }

  .quick-offer-price-grid,
  .quick-offer-date-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
