﻿
/* Large Bootstrap switch */
.form-switch-lg .form-check-input {
  width: 3rem;        /* track width */
  height: 1.7rem;     /* track height */
  background-position: left center; /* reset the background */
  cursor: pointer;
}
.form-switch-lg .form-check-input::before {
  width: 1.4rem;      /* thumb size */
  height: 1.4rem;     /* thumb size */
  top: 50%;
  transform: translateY(-50%) translateX(.15rem);
  transition: transform .15s ease-in-out;
}
.form-switch-lg .form-check-input:checked {
  background-position: right center;
}
.form-switch-lg .form-check-input:checked::before {
  transform: translateY(-50%) translateX(1.5rem);
}
/* green track when checked */
.form-switch-primary .form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
/* gray track when unchecked */
.form-switch-secondary .form-check-input {
  background-color: #ccc;
}
.sidebar-brand {
  height: 3.55rem;
}
.sidebar-border-dir {
  border-right: 1px solid var(--bs-border-color);
}

/* Slightly wider left sidebar */
:root,
[data-bs-theme=light] {
  --lte-sidebar-width: 17rem;
}

.layout-fixed .app-sidebar {
  display: flex;
  flex-direction: column;
  min-width: var(--lte-sidebar-width);
  max-width: var(--lte-sidebar-width);
  height: 100vh;
}

/* Keep collapsed state slightly wider too */
.sidebar-mini.sidebar-collapse .app-sidebar {
  min-width: 5.2rem;
  max-width: 5.2rem;
}

/* Sidebar menu: truncate long labels with ellipsis */
.sidebar-menu .nav-link {
  min-width: 0;
}

.sidebar-menu .nav-link p {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 1.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-menu .nav-link p .nav-label {
  display: inline;
}

.sidebar-menu .nav-link p .nav-arrow {
  float: right;
}

/* Keep left sidebar scrollbar visible */
.app-sidebar .sidebar-wrapper {
  overflow-y: auto !important;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  padding-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 90, 0.55) transparent;
}

.app-sidebar .sidebar-wrapper::-webkit-scrollbar {
  width: 8px;
}

.app-sidebar .sidebar-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.app-sidebar .sidebar-wrapper::-webkit-scrollbar-thumb {
  background: rgba(60, 60, 90, 0.55);
  border-radius: 8px;
}

.app-sidebar .os-scrollbar {
  opacity: 1 !important;
  visibility: visible !important;
}

.dis_none{
  display: none;
}
.dis_none_important{
  display: none !important;
}

/* Loyalty progress bar (Customer page) */
.loyaltyProgressContainer {
  border-radius: 5px;
  border: 1px solid #B8B8B8;
  padding: 2rem 0;
}
.loyaltyProgressContainer .barContainter{
  width: 85%;
  margin: 0 auto;
}
.loyaltyProgressContainer .status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  color: #B8B8B8;
  margin-bottom: 0.5rem;
}
.loyaltyProgressContainer .status-header .percentage {
  color: #979797;
  font-size: 1rem;
  padding-right: 0 !important;
  background-image: none !important;
}
.loyaltyProgressContainer .progress-bar-container {
  position: relative;
  background-color: #D9D9D9;
  border-radius: 5px;
  height: 0.75rem;
  width: 100%;
  margin-bottom: 0.5rem;
}
.loyaltyProgressContainer .progress-bar {
  height: 100%;
  background-color: #47BC4B;
  border-radius: 0.5rem;
}
.loyaltyProgressContainer .campaign-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.loyaltyProgressContainer .campaign-info .campaign-tag {
  color: #454448;
  font-size: .9rem;
  font-weight: 700;
  padding-right: 1.6rem !important;
  background-image: url('/images/icons/goldBadg.svg') !important;
  background-repeat: no-repeat !important;
  background-size: 1.25rem 100% !important;
  background-position: right center;
}
.loyaltyProgressContainer .campaign-info .campaign-value {
  color: #000000;
  font-size: .9rem;
  font-weight: 400;
}
.mb_bottom_0_15 {
	margin-bottom: .15rem !important;
}
.mb_top_0_25 {
	margin-top: .25rem !important;
}
.mb_top_0_4 {
	margin-top: .4rem !important;
}
.mb_top_0_5 {
	margin-top: .5rem !important;
}
.mb_bottom_0_5 {
	margin-bottom: .5rem !important;
}
.mb_top_0 {
	margin-top: 0rem !important;
}
.mb_top_1 {
	margin-top: 1rem !important;
}
.mb_top_2 {
	margin-top: 2rem !important;
}
.mb_bottom_0 {
	margin-bottom: 0rem !important;
}
.mb_bottom_1 {
	margin-bottom: 1rem !important;
}
.mb_bottom_2 {
	margin-bottom: 2rem !important;
}
.mb_top_1_5 {
	margin-top: 1.5rem !important;
}
.mb_bottom_1_5  {
	margin-bottom: 1.5rem !important;
}
.mb_left_0 {
	margin-left: 0rem !important;
}
.mb_left_0_5 {
	margin-left: .5rem !important;
}
.mb_right_0_5 {
	margin-right: .5rem !important;
}
.mb_left_1_5per {
	margin-left: 1.5% !important;
}
.mb_left_1 {
	margin-left: 1rem !important;
}
.mb_left_1_5 {
	margin-left: 1.5rem !important;
}
.mb_left_2 {
	margin-left: 2rem !important;
}
.main-sidebar .brand-link {
    display: block;
    font-size: 1.25rem;
    line-height: 1.5;
    padding: 1rem;
    transition: width .3s ease-in-out;
    white-space: nowrap;
}
.main-sidebar .brand-link .brand-image {
    float: none;
	display: block;
    max-height: inherit;
    width: 74%;
	margin: 0 auto;
}
  #fixed-button {
      position: relative;
      bottom: auto;
      left: auto;
      background: #FF3B89;
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
      width: calc(100% + 1px);
      margin-inline-end: -1px;
      border-top: 1px solid #dee2e6;
      border-inline-end: 1px solid #dee2e6;
      height: 3.55rem;
      text-decoration: none;
      color: #ffffff;
      z-index: 2;
      transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }
  
  #fixed-button span {
    margin: 0;
    font-size: .96rem;
    font-weight: 600;
    padding: 0;
    width: calc(100%) !important;
    text-transform: capitalize;
    color: #ffffff;
  }
  
  #fixed-button i {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    padding: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: .95rem;
  }

  #fixed-button:hover {
    background: #eb2f7c;
  }

  #fixed-button:active {
    transform: translateY(1px);
  }
  .iconletter  {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF3B89;
    color: white;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1rem;
  }

  .searchbar {
    width: 100%;
    max-width: 300px;
    display: inline-flex;
    margin: 0 1rem;
  }
  
  .searchbar--max-width {
    max-width: 100%;
  }
  
  .searchbar__input {
    flex-grow: 1;
    padding: .25rem .5rem;
    outline: none;
    border: 1px solid #6c757d;
    border-radius: 5px 0 0 5px;
    background: #ffffff;
    font-size: .9rem;
  }
  
  .searchbar__input:focus {
    background: white;
    box-shadow: none;
  }
  
  .searchbar__input::placeholder {
    color: #d0d0d0;
  }
  
  .searchbar__button {
    width: 30px;
    background: #6c757d;
    color: #ffffff;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    user-select: none;
    font-size: .8rem;
  }
  
  .searchbar__button:active {
    box-shadow: none;
  }

  .imgThumplist {
	  position: relative;
    text-align: center;
    margin: .5rem .75rem .5rem .25rem;
    width: 2rem;
    height: 2rem;
	  background-image: url("/images/icons/thmp_image_dark.svg");
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: transparent !important;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .mainTable tbody tr td{
    vertical-align: middle !important;
  }
  [type=email], [type=number], [type=tel], [type=url] {
    direction: ltr;
  }

  div.capsole {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: self-start;
    border: 0;
    color: #454448;
    padding: 0;
    font-size: .7rem;
    font-weight: 500;
    min-width: 2.5rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
  }
  div.capsole span{
    display: inline;
  }
  div.capsole span.value {
    display: inline;
    margin: 0;
    border: 0;
    padding: 0;
    height: 1.2rem;
    width: auto;
    max-width: 5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2rem;
  }

.message-card-wrapper.message-unread {
  background-color: #fbf0f5;
  border: 1px solid #ffe1ec;
  box-shadow: none;
}

.message-card-wrapper.message-unread .card-header {
  background-color: transparent;
}

.message-card-wrapper.message-read {
  background-color: #fff;
  box-shadow: none;
  border: 1px solid transparent;
}

.message-dropdown-item.message-unread {
  background-color: #fbf0f5;
}

.message-dropdown-item.message-read {
  background-color: transparent;
}

.message-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ddd;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.message-dropdown-item .fs-7 {
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-link-picker .form-select {
  min-height: 42px;
}

.social-links-list {
  padding-top: 0.25rem;
}

.social-link-row {
  border: 1px solid #e6e6e6;
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
  background-color: #fff;
  align-items: center;
}

.social-link-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  background: #f3f3f3;
  color: #444;
  margin-top: 1.25rem;
}

.social-link-remove {
  flex: 0 0 auto;
  margin-top: 1.25rem;
}

.messages-dropdown-footer {
  border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important
}

.message-dropdown-item .dropdown-item-title {
  font-size: 0.75rem;
  line-height: 1.2;
}
  div.capsole span.withImage {
    margin: 0 0.5rem 0 0;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: transparent !important;
    border-radius: 50px;
    box-sizing: border-box;
    border: 0;
    padding: 0;
    width: 1.2rem;
    height: 1.2rem;
  }
  #select2-product_cross_recommendcross-container .select2-selection__choice__display{
    padding: 0 !important;
  }
  #select2-product_cross_recommendcross-container .select2-selection__choice__remove{
    top:2px;
  }
  #select2-product_cross_recommendup-container .select2-selection__choice__display{
    padding: 0 !important;
  }
  #select2-product_cross_recommendup-container .select2-selection__choice__remove{
    top:2px;
  }
  #select2-product_cross_recommendrecommend-container .select2-selection__choice__display{
    padding: 0 !important;
  }
  #select2-product_cross_recommendrecommend-container .select2-selection__choice__remove{
    top:2px;
  }

  #select2-category_products_select-container .select2-selection__choice__display{
    padding: 0 !important;
  }
  #select2-category_products_select-container .select2-selection__choice__remove{
    top:2px;
  }

  .select2-container--default .select2-selection--multiple{
    min-height: 2.25rem;
  }
  .select2-container--default .select2-selection--single{
    min-height: 2.25rem;
  }
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 2.25rem;
  }
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 2.25rem;
    top: 0;
  }
  .select2-container .select2-search--inline .select2-search__field {
    margin-top: .25rem;
    height: 1.5rem;
  }


  .mainTable {
	margin-bottom: 0 !important;
}
.mainTable thead tr{
	border-radius: 5px;
}
.mainTable thead tr th {
	border-top: none !important;
	border-bottom: none !important;
	background-color: #F2F2F2;
	color: #454448;
	font-size: .75rem;
	font-weight: 600 !important;
	white-space: nowrap;
	padding: .75rem!important;
    vertical-align: middle !important;
	line-height: 1.5;
}
.mainTable thead tr th.sorting{
	padding-right: 1.75rem !important;
}
.mainTable.subTable thead tr th {
	background-color: #fff6f6;
}
.mainTable thead tr th.text_checkbok {
	padding: .5rem .75rem !important;
}
.mainTable thead tr th.text_checkbok_padding {
	padding: 0 .75rem 0 .75rem!important;
}
.mainTable thead tr th.text_checkbok_padding .intable_padding{
	margin: .5rem 0!important;
}
.mainTable thead tr th:first-child {
	border-radius: 5px 0 0 5px;
}
.mainTable thead tr th:last-child {
	border-radius: 0 5px 5px 0;
}
.mainTable tbody tr{
	border-bottom: 1px solid #F2F2F2 !important;
}
.mainTable tbody tr:last-of-type{
	border-bottom: none !important;
}
.mainTable tbody tr.rowHover:hover{
	cursor: pointer;
}
.mainTable tbody tr.rowHover:hover{
	background-color: #fff6f6;
}
.mainTable tbody tr td{
	white-space: nowrap;
	border-top: none !important;
	border-bottom: none !important;
	color: #454448;
	font-size: .75rem;
	font-weight: 400 !important;
	padding: .5rem .75rem !important;
    vertical-align: middle !important;
}
.mainTable tfoot tr th {
	color: #454448;
	font-size: .75rem;
	font-weight: 600 !important;
	white-space: nowrap;
	padding: 0 .75rem !important;
}
.mainTable .form-control{
	min-width: 4.9rem;
}
.mainTable .custom-control-label{
	padding-left: 1rem;
}

.dataTables_scrollBody table thead{
  display: none !important;
}

.insight-box {
    background: #f5f7fa;
    border-radius: 10px;
    padding: 1rem;
    flex: 1;
    min-width: 140px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}
.login-methods span {
    margin-right: 10px;
    border-radius: 30%;
}

.hint{
  color :#0d6efd !important;
}

.service-overview {
  border: 1px solid #dee2e6 !important; 
  border-radius: 4px !important; 
  overflow: hidden !important; 
  background: #fff !important;
}

/* Base wrapper styling */
.image-upload-wrapper.service-image-upload {
  width: 100%;
  max-width: 140px; /* desired size */
  aspect-ratio: 1 / 1;
  background-color: #f0f0f0;
  border: 2px dashed #ccc;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease;
}

/* Hover effect */
.image-upload-wrapper.service-image-upload:hover {
  border-color: #007bff;
}

/* Overlay upload text */
.image-upload-wrapper.service-image-upload .image-upload-text {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #555;
}

/* Hide file input */
input[type="file"].hidden-file-input {
  display: none;
}

.headerActionsBtn {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: right;
}
.headerActionsBtn li {
	margin: 0 .5rem;
}
.headerActionsBtn li .btn {
	border-radius: 5px;
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	border: 0;
	background-position: .5rem;
	background-repeat: no-repeat;
	min-width: 4.5rem;
	padding: 0 .65rem;
	height: 2.5rem;
	line-height: 2.5rem;
}
.headerActionsBtn li .primary {
	background-color: #1C1A3D;
}
.headerActionsBtn li .save {
	background-color: #0d6efd;
}
.headerActionsBtn li .blue {
	background-color: #0CA6E8;
}
.headerActionsBtn li .cancel {
	background-color: rgba(69, 68, 72, 0.3);
}
.headerActionsBtn li .save:hover, .headerActionsBtn li .save:active {
	background-color: #0d6efd !important;
}
.headerActionsBtn li .save.btn-outline-primary {
	background-color: #1C1A3D;
}
.headerActionsBtn li .save.btn-outline-primary:hover, .headerActionsBtn li .save.btn-outline-primary:active {
	background-color: #FF3B89 !important;
}
a.link-primary:hover {
  color: #FF3B89 !important;
  text-decoration-color: #FF3B89 !important;
}
a.link-secondary:hover {
  color: #1C1A3D !important;
  text-decoration-color: #1C1A3D !important;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Mobile header logo (shown when sidebar is hidden) */
@media (max-width: 991.98px) {
  .app-header.navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .app-header .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
  }

  .app-header .container-fluid > .navbar-nav:first-child {
    order: 2;
    width: 100%;
    min-height: 54px;
    height: 54px;
    padding-block: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .35rem;
  }

  .app-header .container-fluid > .navbar-nav:last-child {
    order: 1;
    width: 100%;
    min-height: 54px;
    height: 54px;
    padding-block: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .35rem;
    border-top: 0;
  }

  .app-header .container-fluid > .navbar-nav:first-child .app-header-right-first-action {
    margin-inline-start: auto;
  }
  .app-header .container-fluid > .navbar-nav:first-child {
    border-top: 1px solid #dee2e6;
  }

  .app-header .container-fluid > .navbar-nav .nav-item,
  .app-header .container-fluid > .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1;
  }


  .mobile-header-logo-item {
    display: inline-flex !important;
    align-items: center;
    margin-inline-end: .35rem;
  }

  .app-header .container-fluid > .navbar-nav:last-child .mobile-header-logo-item {
    margin-right: auto;
    margin-left: 0;
  }

  .mobile-header-logo-link {
    display: inline-flex;
    align-items: center;
  }

  .mobile-header-logo-img {
    height: 24px;
    width: auto;
    max-width: 130px;
    display: block;
  }

  .app-sidebar .sidebar-brand {
    display: none !important;
  }
}

/* Dashboard responsive refinements */
.dashboard-title {
  font-size: 1.9rem;
}

.dashboard-links-card .dashboard-links {
  row-gap: .5rem;
  column-gap: 1.25rem;
}

.settings-row {
  justify-content: space-between;
  gap: 1rem;
}

.settings-card .settings-row .settings-action-btn {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.7;
  white-space: nowrap;
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  .dashboard-title {
    font-size: 1.6rem;
  }

  .dashboard-links-card .dashboard-links {
    flex-direction: column;
    align-items: flex-start !important;
    gap: .5rem !important;
  }

  .settings-card .settings-row {
    flex-direction: column;
    align-items: stretch !important;
    gap: .65rem;
  }

  .settings-card .settings-row .settings-action-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .products-page-header-actions .btn {
    width: auto;
    max-width: none;
    white-space: nowrap;
  }

  .products-page-header-actions {
    justify-content: flex-end !important;
  }

  .admin-table-wrap .dataTables_wrapper .row {
    display: flex;
    align-items: center;
    margin-top: .5rem;
    margin-bottom: .5rem;
    row-gap: .5rem;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child {
    margin-top: .85rem;
    margin-bottom: .6rem;
  }

  .admin-table-wrap .dataTables_wrapper .dataTables_length,
  .admin-table-wrap .dataTables_wrapper .dataTables_filter,
  .admin-table-wrap .dataTables_wrapper .dataTables_info,
  .admin-table-wrap .dataTables_wrapper .dataTables_paginate {
    text-align: left !important;
    float: none !important;
    margin-bottom: 0;
  }

  .admin-table-wrap .dataTables_wrapper .dataTables_paginate .pagination {
    justify-content: flex-start !important;
    margin-bottom: 0;
  }

  .admin-table-wrap .dataTables_wrapper .row > [class*="col-"] {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child > [class*="col-"]:first-child {
    width: 62% !important;
    max-width: 62% !important;
    flex: 0 0 62% !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child > [class*="col-"]:last-child {
    width: 38% !important;
    max-width: 38% !important;
    flex: 0 0 38% !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:first-child .dataTables_length label,
  .admin-table-wrap .dataTables_wrapper .row:first-child .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
  }

  .admin-table-wrap .dataTables_wrapper .row:first-child .dataTables_filter input {
    margin-left: .4rem !important;
    margin-right: 0 !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_info {
    padding-top: 0 !important;
    white-space: nowrap;
    line-height: 1.2;
  }

  .admin-table-wrap .dataTables_wrapper .row:first-child,
  .admin-table-wrap .dataTables_wrapper .row:last-child {
    justify-content: space-between;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_paginate {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 38px;
  }

  .admin-table-wrap table.mainTable {
    min-width: 720px;
  }
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table-wrap .dataTables_wrapper {
  width: 100%;
}

/* Final mobile override: keep table footer controls on separate lines */
@media (max-width: 767.98px) {
  .admin-table-wrap .dataTables_wrapper .row:first-child > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child {
    display: block !important;
    margin-top: .75rem !important;
    margin-bottom: .65rem !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_info,
  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_paginate {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    padding-left: 0 !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_paginate {
    margin-top: .7rem !important;
    text-align: left !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_paginate .pagination {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .admin-table-wrap .dataTables_wrapper .row {
    flex-wrap: wrap !important;
  }

  .admin-table-wrap .dataTables_wrapper .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
  }

  .admin-table-wrap .dataTables_wrapper .row {
    row-gap: .45rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child {
    margin-top: .75rem;
    margin-bottom: .65rem;
  }

  .admin-table-wrap .dataTables_wrapper .dataTables_length,
  .admin-table-wrap .dataTables_wrapper .dataTables_filter,
  .admin-table-wrap .dataTables_wrapper .dataTables_info,
  .admin-table-wrap .dataTables_wrapper .dataTables_paginate {
    text-align: left !important;
    margin-bottom: 0 !important;
  }

  .admin-table-wrap .dataTables_wrapper .dataTables_paginate .pagination {
    justify-content: flex-start !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_info {
    display: block !important;
    width: 100% !important;
  }

  .admin-table-wrap .dataTables_wrapper .row:last-child .dataTables_paginate {
    display: block !important;
    width: 100% !important;
    margin-top: .45rem;
  }
}

/* Desktop/Tablet LTR: keep top controls on far edges (Show left, Search right) */
@media (min-width: 768px) {
  html[dir="ltr"] .admin-table-wrap,
  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper,
  html[dir="ltr"] .admin-table-wrap table.mainTable.dataTable,
  html[dir="ltr"] .admin-table-wrap table.mainTable {
    width: 100% !important;
    max-width: 100% !important;
  }

  html[dir="ltr"] .admin-table-wrap table.mainTable.dataTable {
    table-layout: auto !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:first-child .dataTables_length {
    text-align: left !important;
    margin-left: 0 !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:first-child .dataTables_filter {
    text-align: right !important;
    margin-right: 0 !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:first-child .dataTables_filter label {
    float: right !important;
    margin: 0 !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:last-child .dataTables_info {
    text-align: left !important;
    margin-left: 0 !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:last-child .dataTables_paginate {
    text-align: right !important;
    margin-right: 0 !important;
  }

  html[dir="ltr"] .admin-table-wrap .dataTables_wrapper > .row:last-child .dataTables_paginate .pagination {
    justify-content: flex-end !important;
    margin-right: 0 !important;
    margin-left: auto !important;
  }
}
/* Clickable rows for Products/Categories tables */
.table.mainTable tbody tr.clickable-row {
  cursor: pointer;
  transition: background-color .2s ease;
}
.table.mainTable tbody tr.clickable-row:hover > td,
.table.mainTable tbody tr.clickable-row:hover > th {
  background-color: #fff0f6 !important;
}
.table.mainTable .table-row-title {
  font-weight: 700;
}

/* Keep DataTable header/body visuals consistent */
.admin-table-wrap table.mainTable.dataTable thead th,
.admin-table-wrap table.mainTable.dataTable thead td {
  background-color: #f5f5f7 !important;
}
.admin-table-wrap table.mainTable.dataTable tbody td,
.admin-table-wrap table.mainTable.dataTable tbody th {
  border-bottom: 0 !important;
}

/* Products/Categories tables: disable zebra striping */
.admin-table-wrap table.mainTable.table-striped > tbody > tr:nth-of-type(odd) > *,
.admin-table-wrap table.mainTable.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: #fff !important;
}
.admin-table-wrap table.mainTable.dataTable > tbody > tr.odd > *,
.admin-table-wrap table.mainTable.dataTable > tbody > tr.even > * {
  background-color: #fff !important;
  --bs-table-accent-bg: transparent !important;
  box-shadow: none !important;
}
.admin-table-wrap table.mainTable.dataTable > tbody > tr,
.admin-table-wrap table.mainTable.dataTable > tbody > tr.odd,
.admin-table-wrap table.mainTable.dataTable > tbody > tr.even {
  background-color: #fff !important;
}
.admin-table-wrap table.mainTable.table-striped {
  --bs-table-striped-bg: #fff;
  --bs-table-accent-bg: transparent;
}

/* Keep clickable hover visible above zebra reset */
.admin-table-wrap table.mainTable tbody tr.clickable-row:hover > td,
.admin-table-wrap table.mainTable tbody tr.clickable-row:hover > th {
  background-color: #fff0f6 !important;
  --bs-table-accent-bg: #fff0f6 !important;
  box-shadow: none !important;
}

/* Status badge style parity for admin DataTables (Products/Categories/Category Groups) */
.admin-table-wrap table.mainTable .product_status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
}
.admin-table-wrap table.mainTable .product_status.product_status_code_1,
.admin-table-wrap table.mainTable .product_status.product_status_Draft {
  background-color: #eef1f4;
  color: #5b6470 !important;
  border-color: #d9dee4;
}
.admin-table-wrap table.mainTable .product_status.product_status_code_2,
.admin-table-wrap table.mainTable .product_status.product_status_Active {
  background-color: #ff3b89;
  color: #ffffff !important;
  border-color: #ff3b89;
}
.admin-table-wrap table.mainTable .product_status.product_status_code_3,
.admin-table-wrap table.mainTable .product_status.product_status_Schedule,
.admin-table-wrap table.mainTable .product_status.product_status_Scheduled {
  background-color: #fff4cc;
  color: #8a6d00 !important;
  border-color: #ffe69c;
}
.admin-table-wrap table.mainTable .product_status.product_status_code_4,
.admin-table-wrap table.mainTable .product_status.product_status_ScheduleEvent,
.admin-table-wrap table.mainTable .product_status.product_status_ScheduledEvent {
  background-color: #dbeafe;
  color: #1d4ed8 !important;
  border-color: #bfdbfe;
}

/* Shared action buttons */
.admin-action-buttons,
.loyalty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.admin-action-btn,
.loyalty-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background-color: #fff;
  color: #1b1d4d;
  font-weight: 600;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn.admin-action-btn:hover,
.btn.admin-action-btn:focus,
.btn.admin-action-btn:active,
.btn.loyalty-action-btn:hover,
.btn.loyalty-action-btn:focus,
.btn.loyalty-action-btn:active {
  background-color: #f8f9fa !important;
  border-color: #adb5bd !important;
  border-width: 1px !important;
  border-style: solid !important;
  color: #1b1d4d;
  box-shadow: none !important;
}

@media (max-width: 767.98px) {
  .admin-action-buttons,
  .loyalty-actions {
    justify-content: stretch;
  }
  .admin-action-btn,
  .loyalty-action-btn {
    width: 100%;
  }
}

/* Force spacing between SweetAlert action buttons */
.swal2-actions-gap{
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .75rem !important;
}
.swal2-actions-gap > *{
  margin: 0 !important;
}
.swal2-popup .swal2-actions .swal2-styled.swal2-confirm{
  background: #1b1d4d !important;
  border: 1px solid #1b1d4d !important;
  color: #fff !important;
  box-shadow: none !important;
}
.swal2-popup .swal2-actions .swal2-styled.swal2-confirm:hover{
  background: #14163c !important;
  border-color: #14163c !important;
}
.swal2-popup .swal2-actions .swal2-styled.swal2-cancel{
  background: #767d86 !important;
  border: 1px solid #767d86 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.swal2-popup .swal2-actions .swal2-styled.swal2-cancel:hover{
  background: #666d76 !important;
  border-color: #666d76 !important;
}

/* Customer edit address modal */
.customer-address-modal .customer-address-modal__dialog{
  max-width: min(960px, 94vw);
}
.customer-address-modal .customer-address-modal__content{
  border: 1px solid #dee2e6;
  border-radius: 10px;
  overflow: hidden;
}
.customer-address-modal .customer-address-modal__header{
  padding: .9rem 1rem;
  border-bottom: 1px solid #dee2e6;
}
.customer-address-modal .customer-address-modal__header .modal-title{
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.customer-address-modal .customer-address-modal__body{
  padding: 1rem;
}
.customer-address-modal .customer-address-modal__section{
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.customer-address-modal .customer-address-modal__section-title{
  margin-bottom: .9rem;
  font-size: .95rem;
}
.customer-address-modal .customer-address-modal__label{
  font-size: .9rem;
  margin-bottom: .35rem;
}
.customer-address-modal .customer-address-modal__phone-group{
  border-color: #dee2e6 !important;
  border-radius: .5rem !important;
}
.customer-address-modal .customer-address-modal__phone-group .input-group-text{
  border: 0;
  border-right: 1px solid #dee2e6;
  border-radius: .5rem 0 0 .5rem;
}
.customer-address-modal .customer-address-modal__phone-group .form-control{
  min-height: 42px;
}
.customer-address-modal .customer-address-modal__footer{
  border-top: 1px solid #dee2e6;
  padding: .75rem 1rem 1rem;
  gap: .5rem;
}
.customer-address-modal .customer-address-modal__btn{
  min-width: 104px;
}
@media (max-width: 767.98px){
  .customer-address-modal .customer-address-modal__dialog{
    max-width: calc(100vw - 1rem);
    margin: .5rem auto;
  }
  .customer-address-modal .customer-address-modal__header{
    padding: .75rem .85rem;
  }
  .customer-address-modal .customer-address-modal__body{
    padding: .85rem;
  }
  .customer-address-modal .customer-address-modal__footer{
    padding: .6rem .85rem .85rem;
    flex-wrap: wrap;
  }
  .customer-address-modal .customer-address-modal__btn{
    flex: 1 1 calc(50% - .3rem);
    min-width: 0;
  }
  .customer-address-modal .customer-address-modal__phone-group .input-group-text{
    padding-inline: .55rem;
  }
}

/* Select2: remove browser focus outline on search input */
.select2-container--default .select2-search--dropdown .select2-search__field:focus,
.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

/* Select2: align dropdown option colors with platform theme */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
  background-color: #FF3B89 !important;
  color: #fff !important;
}
.select2-container--default .select2-results__option--selected{
  background-color: #fce4ef !important;
  color: #1C1A3D !important;
}

/* Select2: keep borders/radius consistent with form controls */
.select2-container--default .select2-selection--single{
  border: 1px solid #dee2e6 !important;
  border-radius: .5rem !important;
  min-height: 42px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 40px !important;
  padding-left: .75rem;
  padding-right: 2rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 40px !important;
}
.select2-dropdown{
  border: 1px solid #dee2e6 !important;
  border-radius: .5rem !important;
}
.select2-container--open .select2-dropdown{
  margin-top: .2rem;
}
.select2-container--default .select2-search--dropdown .select2-search__field{
  border: 1px solid #dee2e6 !important;
  border-radius: .5rem !important;
  min-height: 38px;
  padding: .35rem .6rem;
}

/* Customer address modal: fine-tune Select2 vertical alignment with inputs */
.select2-container--default .select2-selection--single{
  height: 40px !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 100% !important;
  top: 0 !important;
}

/* Admin inputs: remove default inner shadows globally */
.form-control,
.form-select,
textarea.form-control,
.input-group-text{
  box-shadow: none !important;
}

/* Select2 radius must match AdminLTE input radius exactly */
.select2-container--default .select2-selection--single,
.select2-dropdown,
.select2-container--default .select2-search--dropdown .select2-search__field{
  border-radius: var(--bs-border-radius) !important;
}

/* Customer edit modal */
.customer-edit-modal .customer-edit-modal__dialog{
  max-width: min(640px, 94vw);
}
.customer-edit-modal .customer-edit-modal__content{
  border: 1px solid #dee2e6;
  border-radius: 10px;
  overflow: hidden;
}
.customer-edit-modal .customer-edit-modal__header{
  padding: .9rem 1rem;
  border-bottom: 1px solid #dee2e6;
}
.customer-edit-modal .customer-edit-modal__body{
  padding: 1rem;
}
.customer-edit-modal .customer-edit-modal__footer{
  border-top: 1px solid #dee2e6;
  padding: .75rem 1rem 1rem;
  gap: .5rem;
}
.customer-edit-modal .customer-edit-modal__btn{
  min-width: 104px;
}
@media (max-width: 767.98px){
  .customer-edit-modal .customer-edit-modal__dialog{
    max-width: calc(100vw - 1rem);
    margin: .5rem auto;
  }
  .customer-edit-modal .customer-edit-modal__header{
    padding: .75rem .85rem;
  }
  .customer-edit-modal .customer-edit-modal__body{
    padding: .85rem;
  }
  .customer-edit-modal .customer-edit-modal__footer{
    padding: .6rem .85rem .85rem;
    flex-wrap: wrap;
  }
  .customer-edit-modal .customer-edit-modal__btn{
    flex: 1 1 calc(50% - .3rem);
    min-width: 0;
  }
}


 .form-control {
    border-radius: 3px;
    font-size: 13px;
    height: auto;
    line-height: 1.33333;
    padding: 15px 15px 15px 20px;
    background: #f6f7f8;
    color: #323232;
    border: 0px solid transparent;
    box-shadow: none;
 }
.form-control:focus {
    background: #ffffff;
    border: 0px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1) !important;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -ms-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
    border-color: transparent;
}
.form-check-input:checked{
  background-color: #FF3B89 !important;
  border-color: #FF3B89 !important;
}
.form-switch .form-check-input:focus,
.form-switch-lg .form-check-input:focus,
.form-switch-primary .form-check-input:focus{
  border-color: #FF3B89 !important;
  box-shadow: 0 0 0 .2rem rgba(255, 59, 137, .16) !important;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FF3B89'/%3e%3c/svg%3e") !important;
  background-image: var(--bs-form-switch-bg) !important;
}
.form-switch .form-check-input:checked,
.form-switch-lg .form-check-input:checked,
.form-switch-primary .form-check-input:checked{
  background-color: #FF3B89 !important;
  border-color: #FF3B89 !important;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
  background-image: var(--bs-form-switch-bg) !important;
}
.form-switch .form-check-input:not(:checked){
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 59, 137, 0.55%29'/%3e%3c/svg%3e") !important;
  background-image: var(--bs-form-switch-bg) !important;
}
.form-switch-lg .form-check-input::before{
  background-color: #fff !important;
}
.dropdown-item.active,
.dropdown-item:active,
.list-group-item.active,
.page-item.active .page-link,
.page-link:focus{
  background-color: #FF3B89 !important;
  border-color: #FF3B89 !important;
  color: #fff !important;
  box-shadow: none !important;
}
/* Native select opened option highlight (browser-supported engines) */
.form-select option:checked,
select option:checked{
  background: #FF3B89 !important;
  color: #fff !important;
}

/* Product editor pages: /NewProduct and /Product/{id} */
.product-editor-page .app-content-header .breadcrumb{
  margin-bottom: 0;
}
.product-editor-page .product-editor-actions-col{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.product-editor-page .product-editor-save-btn{
  min-width: 122px;
}
.product-editor-page .product-editor-grid{
  row-gap: 1rem;
}
.product-editor-page .card{
  margin-bottom: 1rem !important;
}
.product-editor-page .card > .card-header{
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: .7rem 1rem;
}
.product-editor-page .card > .card-header .card-title{
  margin: 0;
  line-height: 1.3;
}
.product-editor-page .card > .card-body{
  padding: 1rem;
}
.product-editor-page .card .row{
  row-gap: .75rem;
}
.product-editor-page .form-label{
  margin-bottom: .35rem;
}
.product-editor-page .form-control,
.product-editor-page .form-select{
  min-height: 40px;
}
.product-editor-page .input-group .form-control,
.product-editor-page .input-group .form-select{
  min-height: 40px;
}
.product-editor-page .product_information_summernote{
  min-height: 140px;
}
.product-editor-page #product_pricing_div .product-pricing-tax-wrap{
  max-width: 420px;
}
.product-editor-page #product_pricing_div .product-pricing-summary{
  flex-wrap: wrap;
  gap: .5rem .9rem;
}
.product-editor-page #product_pricing_div .product-pricing-summary > span{
  margin: 0 !important;
}
.product-editor-page .product-editor-moreinfo-btn{
  min-width: 122px;
}
.product-editor-page .note-editor.note-frame .note-toolbar{
  display: flex;
  flex-wrap: wrap !important;
  align-items: center;
  overflow: visible;
  white-space: normal;
  gap: .25rem;
  position: relative;
  z-index: 2;
}
.product-editor-page .note-editor.note-frame .note-toolbar .note-btn-group{
  float: none !important;
  display: inline-flex;
  flex: 0 0 auto;
  margin-right: .25rem;
}
.product-editor-page .note-editor .dropdown-menu,
.product-editor-page .note-editor .note-dropdown-menu{
  z-index: 1086 !important;
}
.product-editor-page .note-editor .note-editing-area{
  position: relative;
  z-index: 1;
}
.product-editor-page .product_discount .nav-tabs{
  flex-wrap: wrap;
  gap: .4rem;
}
.product-editor-page .product_discount .nav-tabs .nav-item{
  flex: 1 1 220px;
}
.product-editor-page .product_discount .nav-tabs .nav-link{
  width: 100%;
  text-align: center;
}
.product-editor-page .product-options-section .nav-tabs{
  flex-wrap: wrap;
  gap: .4rem;
}
.product-editor-page .product-options-section .nav-tabs .nav-item{
  flex: 1 1 220px;
}
.product-editor-page .product-options-section .nav-tabs .nav-link{
  width: 100%;
  text-align: center;
}
.product-editor-page .options_sets_main_div .product-options-section > .card-body > .nav.nav-tabs .nav-link{
  font-size: 1rem !important;
  font-weight: 400 !important;
  border: var(--bs-nav-tabs-border-width) solid transparent !important;
  border-top-left-radius: var(--bs-nav-tabs-border-radius) !important;
  border-top-right-radius: var(--bs-nav-tabs-border-radius) !important;
  background-color: transparent !important;
}
.product-editor-page .options_sets_main_div .product-options-section > .card-body > .nav.nav-tabs .nav-link.active,
.product-editor-page .options_sets_main_div .product-options-section > .card-body > .nav.nav-tabs .nav-link.show{
  color: var(--bs-nav-tabs-link-active-color) !important;
  background-color: var(--bs-nav-tabs-link-active-bg) !important;
  border-color: var(--bs-nav-tabs-link-active-border-color) !important;
}
.product-editor-page .product_discount .discount-range-action-btn{
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7ddea;
  background: #fff;
  color: #1f1c4d;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.product-editor-page .product_discount .discount-range-action-btn i{
  font-size: .9rem;
  line-height: 1;
}
.product-editor-page .product_discount .discount-range-action-btn--add{
  border-color: #1f1c4d;
  color: #1f1c4d;
}
.product-editor-page .product_discount .discount-range-action-btn--remove{
  border-color: #ff3b89;
  color: #ff3b89;
}
.product-editor-page .product_discount .discount-range-action-btn:hover{
  transform: translateY(-1px);
}
.product-editor-page .product_discount .discount-range-action-btn--add:hover{
  background: #1f1c4d;
  color: #fff;
}
.product-editor-page .product_discount .discount-range-action-btn--remove:hover{
  background: #ff3b89;
  color: #fff;
}
@media (min-width: 768px){
  .product-editor-page .product_discount #bulk_discount_ranges .discount-range-actions{
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    flex: 0 0 auto;
    max-width: none;
    margin-top: 0;
    justify-content: flex-end;
    gap: .4rem;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .discount-range-actions .add-btn-col{
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    margin: 0;
  }
}
.product-editor-page #discount_form .tab-content{
  overflow: hidden;
}
.product-editor-page #bulk_discount_ranges{
  overflow-x: hidden;
  padding-bottom: .2rem;
}
.product-editor-page #bulk_discount_ranges > .row.gx-2{
  margin-left: 0;
  margin-right: 0;
}
.product-editor-page #product-variants-table{
  overflow-x: auto;
}
.product-editor-page #product_variants_table_data{
  min-width: 760px;
}
.product-editor-page .options_sets_main_div{
  overflow: hidden;
}
.product-editor-page .options_sets_main_div .slist{
  padding-left: 0;
  margin-bottom: 0;
}
.product-editor-page .options_sets_main_div .slist > li{
  list-style: none;
}
.product-editor-page .select2-container{
  width: 100% !important;
}
.product-editor-page .options_sets_main_div [id^="options_saved_ul"]{
  padding-left: 0;
  margin-bottom: .75rem;
}
.product-editor-page .options_sets_main_div .optionContainer{
  overflow: hidden;
}
.product-editor-page .options_sets_main_div .option_values_list,
.product-editor-page .options_sets_main_div ul.option_values_list{
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.product-editor-page .options_sets_main_div .option_values_list > li{
  margin: 0 0 .6rem;
}
.product-editor-page .options_sets_main_div .option_values_list > li:last-child{
  margin-bottom: 0;
}
.product-editor-page .options_sets_main_div .option_values_list > li > .flexRowOptionsInner.flexNoWrap{
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: .55rem;
}
.product-editor-page .options_sets_main_div .option_values_list > li .grab-cursor{
  width: 30px;
  min-width: 30px;
  max-width: 30px;
}
.product-editor-page .options_sets_main_div .option_values_list > li .item_delete{
  width: 30px !important;
  min-width: 30px;
  max-width: 30px;
  margin-top: .2rem !important;
}
.product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice{
  min-width: 0;
}
.product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice > .flexRowOptionsInner.flexWrap{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .5rem;
}
.product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice > .flexRowOptionsInner.flexWrap > .flexItem{
  min-width: 0;
  flex: 1 1 240px;
}
.product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice > .flexRowOptionsInner.flexWrap > .flexItem.option_extra_input_field_price{
  flex: 1 1 180px;
  max-width: 260px;
}
.product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice input.form-control,
.product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice .option_price_val,
.product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice .option_extra_input_field_description .form-control{
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
.product-editor-page .options_sets_main_div .option_values_list > li .option_extra_input_field_description{
  width: 100%;
}

@media (max-width: 767.98px){
  .product-editor-page .options_sets_main_div .option_values_list > li > .flexRowOptionsInner.flexNoWrap{
    flex-wrap: wrap;
    gap: .45rem;
  }
  .product-editor-page .options_sets_main_div .option_values_list > li .grab-cursor,
  .product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice[id^="default_value_"],
  .product-editor-page .options_sets_main_div .option_values_list > li .item_delete{
    align-self: center !important;
    margin-top: 0 !important;
  }
  .product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice[style*="width:2.5rem"]{
    width: 2.5rem !important;
    min-width: 2.5rem;
  }
  .product-editor-page .options_sets_main_div .option_values_list > li > .flexRowOptionsInner.flexNoWrap > .targetdDragchoice:not([style*="width:2.5rem"]):not(.item_delete){
    flex: 1 1 calc(100% - 5.8rem);
    min-width: 0;
  }
  .product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice > .flexRowOptionsInner.flexWrap > .flexItem,
  .product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice > .flexRowOptionsInner.flexWrap > .flexItem.option_extra_input_field_price{
    flex: 1 1 100%;
    max-width: 100%;
  }
  .product-editor-page .options_sets_main_div .option_values_list > li .targetdDragchoice .option_extra_input_field_description{
    margin-top: .45rem !important;
  }
}
.product-editor-page .options_sets_main_div .tab-content{
  overflow-x: hidden;
  overflow-y: visible;
}
.product-editor-page .options_sets_main_div .scrollableAreaWidthHeight75{
  overflow-x: hidden !important;
}
.product-editor-page #bulkEditor_modal .modal-body{
  padding: .75rem;
  overflow: auto;
}
.product-editor-page #bulkEditor_modal .modal-body > button{
  margin-bottom: .5rem;
}
.product-editor-page #bulkEditor_modal #bulkEditor-table_wrapper{
  overflow: auto hidden;
}
.product-editor-page #bulkEditor_modal #bulkEditor-table{
  min-width: 1080px;
}
.product-editor-page #bulkEditor_modal #bulkEditor-table td .d-flex{
  min-width: 210px;
  gap: .35rem;
}
.product-editor-page #bulkEditor_modal #bulkEditor-table td .d-flex .form-control{
  min-width: 62px;
}
.product-editor-page #track_inventory_form .panelHolder{
  overflow: auto hidden;
}
.product-editor-page #track_inventory_form table.mainTable{
  min-width: 560px;
}
.product-editor-page #selectedMedia{
  position: relative;
  padding: 0 36px;
  width: 100% !important;
  margin: 0 !important;
}
.product-editor-page #selectedMedia .owl-nav{
  margin-top: 0;
}
.product-editor-page #selectedMedia .nav-btn{
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: block;
}
.product-editor-page #selectedMedia .owl-nav button.owl-prev,
.product-editor-page #selectedMedia .owl-nav button.owl-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
  z-index: 3;
}
.product-editor-page #selectedMedia .owl-nav button.owl-prev{
  left: 8px;
}
.product-editor-page #selectedMedia .owl-nav button.owl-next{
  right: 8px;
}

@media (max-width: 991.98px){
  .product-editor-page .app-content-header .row{
    row-gap: .65rem;
  }
  .product-editor-page .app-content-header .col-sm-6{
    width: 100%;
  }
  .product-editor-page .app-content-header .breadcrumb{
    float: none !important;
    justify-content: flex-start;
  }
  .product-editor-page .product-editor-actions-col{
    justify-content: flex-end;
  }
}

@media (max-width: 767.98px){
  .product-editor-page .app-content-header{
    padding-bottom: .2rem;
  }
  .product-editor-page .app-content{
    padding-top: .45rem;
  }
  .product-editor-page .product-editor-save-btn{
    width: auto;
    margin-top: .35rem !important;
  }
  .product-editor-page .card > .card-header{
    min-height: 48px;
    padding: .6rem .8rem;
  }
  .product-editor-page .card > .card-body{
    padding: .8rem;
  }
  .product-editor-page .product_discount .row.gx-2:not(.fw-bold) .col-4,
  .product-editor-page .product_discount .row.gx-2:not(.fw-bold) .col-3{
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .product-editor-page .product_discount .row.gx-2{
    row-gap: .5rem;
    margin-left: 0;
    margin-right: 0;
  }
  .product-editor-page .product_discount .row.gx-2.fw-bold{
    display: none;
  }
  .product-editor-page .product_discount .discount-normal-input-row > [data-mobile-label],
  .product-editor-page .product_discount #bulk_discount_ranges > .row.gx-2 > [data-mobile-label]{
    position: relative;
    padding-top: 1.05rem;
  }
  .product-editor-page .product_discount .discount-normal-input-row > [class*="col-"],
  .product-editor-page .product_discount #bulk_discount_ranges > .row.gx-2 > [class*="col-"]{
    padding-left: 0;
    padding-right: 0;
  }
  .product-editor-page .product_discount .discount-normal-input-row > [data-mobile-label]::before,
  .product-editor-page .product_discount #bulk_discount_ranges > .row.gx-2 > [data-mobile-label]::before{
    content: attr(data-mobile-label);
    position: absolute;
    top: 0;
    left: 0;
    font-size: .78rem;
    font-weight: 600;
    color: #243046;
    line-height: 1;
  }
  .product-editor-page .product_discount #bulk_discount_ranges{
    overflow: visible;
    padding-bottom: 0;
  }
  .product-editor-page .product_discount #bulk_discount_ranges > .row.gx-2{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    border: 1px solid #e7e9ef;
    border-radius: 10px;
    padding: .65rem .55rem;
    margin: 0 0 .65rem;
  }
  .product-editor-page .product_discount #bulk_discount_ranges > .row.gx-2 .col-3,
  .product-editor-page .product_discount #bulk_discount_ranges > .row.gx-2 .col-4{
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .discount-range-actions{
    display: flex;
    align-items: center;
    gap: .45rem;
    justify-content: flex-start;
    width: 100%;
    min-height: 36px;
    margin-top: .15rem;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .discount-range-actions .add-btn-col{
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .add-btn-col:empty{
    display: none;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .discount-range-actions .btn{
    min-width: 44px;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .position-relative > input.form-control{
    padding-right: 1.45rem;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .position-relative .position-absolute[onclick*="validateRanges"]{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-inline-end: .45rem !important;
    font-size: .62rem !important;
    line-height: 1 !important;
    z-index: 3;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .position-relative .position-absolute.top-0[onclick*="validateRanges"]{
    top: calc(1.05rem + 6px) !important;
  }
  .product-editor-page .product_discount #bulk_discount_ranges .position-relative .position-absolute.bottom-0[onclick*="validateRanges"]{
    bottom: 6px !important;
  }
  .product-editor-page #product_variants_table_data{
    min-width: 640px;
  }
  .product-editor-page #bulkEditor_modal .modal-body{
    padding: .65rem;
  }
  .product-editor-page #bulkEditor_modal .modal-body > button{
    display: block;
    width: 100%;
    margin-right: 0 !important;
  }
  .product-editor-page #track_inventory_form table.mainTable{
    min-width: 500px;
  }
  .product-editor-page #product_pricing_div .product-pricing-row-main > [class*="col-"],
  .product-editor-page #product_pricing_div .product-pricing-row-toggles > [class*="col-"],
  .product-editor-page #product_pricing_div .product-pricing-row-cost-values > [class*="col-"]{
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  .product-editor-page #product_pricing_div .product-pricing-tax-wrap{
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
  .product-editor-page #product_pricing_div .product-pricing-col-hideprice{
    margin-top: .35rem;
  }
  .product-editor-page #product_pricing_div .product-pricing-summary{
    margin-top: .25rem;
    justify-content: flex-start;
  }
}

/* Header site switcher */
.site-switcher-dropdown .site-switcher-toggle {
  min-width: 11rem;
  max-width: min(24rem, 62vw);
  justify-content: space-between;
  gap: .65rem !important;
  border-radius: 10px !important;
  border: 1px solid #27245a !important;
  background: #1c1a3d !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  padding: .5rem .8rem !important;
  box-shadow: none !important;
  transition: background-color .15s ease, border-color .15s ease;
}

.site-switcher-dropdown .site-switcher-toggle:hover,
.site-switcher-dropdown.show .site-switcher-toggle {
  background: #242058 !important;
  border-color: #242058 !important;
}

.site-switcher-dropdown .site-switcher-toggle:focus,
.site-switcher-dropdown .site-switcher-toggle:active {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 59, 137, 0.22) !important;
}

.site-switcher-dropdown .site-switcher-toggle::after {
  margin-left: .35rem;
}

.site-switcher-dropdown .site-switcher-menu {
  margin-top: .45rem !important;
  min-width: 17rem !important;
  max-height: min(70vh, 28rem);
  overflow: hidden;
  border: 1px solid #ececf3 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(20, 20, 43, 0.12) !important;
  position: relative;
}

.site-switcher-menu .site-switcher-list {
  list-style: none;
  margin: 0;
  padding: .45rem;
  max-height: min(70vh, 24rem);
  overflow-y: auto;
  overflow-x: hidden;
}

.site-switcher-menu .site-switcher-item {
  border-radius: 8px !important;
  font-size: .92rem;
  font-weight: 500;
  color: #23213f !important;
  padding: .58rem .75rem !important;
  transition: background-color .15s ease, color .15s ease;
}

.site-switcher-menu .site-switcher-item:hover {
  background: #fff1f7 !important;
  color: #1c1a3d !important;
}

.site-switcher-menu .site-switcher-item.active,
.site-switcher-menu .site-switcher-item.active:hover {
  background: #ff3b89 !important;
  color: #fff !important;
  font-weight: 700;
}

.site-switcher-menu .site-switcher-create {
  display: block;
  border-radius: 0 0 12px 12px !important;
  margin: 0;
  font-weight: 600;
  color: #ff3b89 !important;
  padding: .7rem .9rem !important;
  background: #fff !important;
  border-top: 1px solid #ececf3;
  text-align: left;
}

.site-switcher-menu .site-switcher-create:hover {
  background: #fff1f7 !important;
  color: #c61f65 !important;
}

