@import url("theme.css");

/*
 * Base structure
 */

*{margin:0;padding:0;box-sizing:border-box}

body {
  padding-top: var(--navbar-height);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background .4s, color .4s;
}


.topbar_btn:hover,
.filter_btn:hover,
.sidebar-action:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}

.topbar_btn:focus,
.topbar_btn:active,
.topbar_btn:active:focus,
.filter_btn:focus,
.filter_btn:active,
.filter_btn:active:focus,
.sidebar-action:focus,
.sidebar-action:active,
.sidebar-action:active:focus{
  transform: translateY(-2px) !important;
}


/*
 * Dark-theme overrides for Bootstrap elements
 */

h1, h2, h3, h4, h5, h6,
label,
.page-header h3 {
  color: var(--color-text-primary);
}

a {
  color: var(--color-text-secondary);
}

a:hover, a:focus {
  color: var(--color-text-primary);
}

.form-control {
  background-color: var(--color-bg-surface);
  color: var(--color-text-primary);
  border-color: var(--color-border-subtle);
}

.form-control:focus {
  background-color: var(--color-bg-elevated);
  color: var(--color-text-primary);
  border-color: var(--color-accent-blue);
}

.form-control::placeholder {
  color: var(--color-text-placeholder);
}

.btn {
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-width: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.16);
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
              color var(--transition-fast), box-shadow var(--transition-fast),
              transform var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-default {
  background-color: var(--color-bg-surface);
  color: var(--color-text-primary);
  border-color: var(--color-border-subtle);
}

.btn-default:hover,
.btn-default:focus {
  background-color: var(--color-bg-elevated);
  color: var(--color-text-primary);
  border-color: var(--color-text-placeholder);
}

.btn-primary {
  background-color: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #3a62e0;
  border-color: #3a62e0;
  color: var(--color-white);
}

.btn-warning {
  background-color: transparent;
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: rgba(243,200,75,0.16);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold-light);
}

.btn-danger {
  background-color: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: var(--color-white);
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: #d4443e;
  border-color: #d4443e;
  color: var(--color-white);
}

.page-header {
  border-bottom-color: var(--color-border-subtle);
}

.container {
  color: var(--color-text-primary);
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.ui-autocomplete{
  z-index: 2000 !important;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
  background-color: var(--color-bg);
}

.topbar-logo-wrap{
  text-align:center;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.topbar-side-logo{
  height:128px;
  width:auto;
  max-width:100%;
}

body.has-index-topbar .topbar-side-logo{
  height:128px;
}

.topbar-search-filters{
  padding: 2px 0 0 0;
}

.topbar-search-filters > .col-sm-10{
  padding-left:0;
}

.topbar-menu-row{
  margin-bottom:4px;
}

.topbar-inline-collapse{
  border-top:0;
  box-shadow:none;
  padding-left:0;
  padding-right:0;
}

.topbar-inline-collapse .navbar-nav{
  margin:0;
}

.topbar-inline-collapse .navbar-form{
  margin-top:4px;
  margin-bottom:4px;
}

.topbar-search-filters .form-control,
.topbar-search-filters .filter_btn{
  margin-bottom: 6px;
  height:28px;
  border-radius:2px;
  border-color: var(--color-border-input);
}

.topbar-search-filters .form-control{
  font-size:12px;
}

#name_search_input,
#brand_search_input,
#category_search_input,
#reference_search_input{
  font-size:14px;
}

#name_search_input::placeholder,
#brand_search_input::placeholder,
#category_search_input::placeholder,
#reference_search_input::placeholder{
  color: var(--color-text-placeholder);
  opacity:1;
  font-size:16px !important;
}

#name_search_input::-webkit-input-placeholder,
#brand_search_input::-webkit-input-placeholder,
#category_search_input::-webkit-input-placeholder,
#reference_search_input::-webkit-input-placeholder{
  color: var(--color-text-placeholder);
  font-size:16px;
}

#name_search_input::-moz-placeholder,
#brand_search_input::-moz-placeholder,
#category_search_input::-moz-placeholder,
#reference_search_input::-moz-placeholder{
  color: var(--color-text-placeholder);
  font-size:16px;
  opacity:1;
}

.topbar-row-icon{
  color: var(--color-text-primary);
  text-align:center;
  padding-top:6px;
  font-size:14px;
}

body.has-index-topbar{
  padding-top: var(--index-topbar-height);
}

.navbar-inverse .navbar-nav>li>a {
  color: whitesmoke;
  font-size:12px !important;
  padding-top:14px;
  padding-bottom:14px;
}

.navbar-nav>.active>a{
  color:gold !important;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus{
  background-color: transparent !important;
  box-shadow: none;
}

/* ── Header (Gateka unified navbar) ── */
.header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  height: var(--nav-h, 64px);
  background: var(--overlay-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.header-shell .header-row {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.header-shell .header-brand {
  display: flex;
  align-items: center;
}

.header-shell .header-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-shell .header-brand-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--text);
}

.header-shell .header-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.header-shell .header-nav-link {
  color: var(--text2);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: var(--radius-sm, 10px);
  border: 1px solid transparent;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-shell .header-nav-link:hover {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--text3);
}

.header-shell .header-nav-link.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.header-shell .header-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-shell .header-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.header-shell .header-profile-link:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.header-shell .header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  color: var(--text2);
  font-size: 11px;
  font-weight: 600;
}

.header-shell .header-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg3);
}

.header-shell .header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition-fast);
}

.header-shell .header-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--border2);
}

.header-shell .header-btn--logout:hover {
  color: var(--color-accent-red);
  border-color: var(--color-accent-red);
}

/* Modal */
.gk-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gk-fade-in .15s ease;
}
@keyframes gk-fade-in { from { opacity: 0; } to { opacity: 1; } }

.gk-modal {
  background: #1a1f2e;
  color: #e2e8f0;
  border: 1px solid rgba(128,128,128,.25);
  border-radius: 14px;
  padding: 24px 28px;
  min-width: 320px;
  max-width: 440px;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  animation: gk-slide-up .2s ease;
}
@keyframes gk-slide-up { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

[data-theme="light"] .gk-modal {
  background: #fff;
  color: #1a1a1a;
  border-color: #e0e0e0;
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}

.gk-modal-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.gk-modal-message {
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
  margin-bottom: 20px;
}
[data-theme="light"] .gk-modal-message { color: #555; }

.gk-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.gk-modal-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.gk-modal-btn--primary {
  background: var(--color-accent-blue, #3b82f6);
  color: #fff;
}
.gk-modal-btn--primary:hover { background: #2563eb; }

.gk-modal-btn--danger {
  background: #ef4444;
  color: #fff;
}
.gk-modal-btn--danger:hover { background: #dc2626; }

.gk-modal-btn--cancel {
  background: rgba(128,128,128,.15);
  color: #94a3b8;
}
.gk-modal-btn--cancel:hover { background: rgba(128,128,128,.25); }
[data-theme="light"] .gk-modal-btn--cancel { color: #555; }

/* Tab delete icon */
.header-tab-delete {
  display: none;
  margin-left: 5px;
  font-size: 9px;
  color: var(--color-text-secondary, #888);
  cursor: pointer;
  padding: 2px;
}
.header-tab-delete:hover {
  color: #ef4444;
}
.header-nav-link:hover .header-tab-delete {
  display: inline;
}

/* Header breadcrumb (product view) */
.header-breadcrumb-sep {
  color: var(--text3);
  font-size: 12px;
  margin: 0 2px;
}
.header-breadcrumb-link {
  color: var(--text2);
  text-decoration: none;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: var(--transition-fast);
}
.header-breadcrumb-link:hover {
  color: var(--accent);
  background: var(--surface-hover);
}
.header-breadcrumb-label {
  font-size: 11px;
  color: var(--text3);
  font-weight: 400;
  margin-left: 2px;
}
.header-breadcrumb-members {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}
.header-breadcrumb-member {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--text2);
  border: 1px solid;
  border-radius: 10px;
  padding: 1px 6px 1px 1px;
}
.header-breadcrumb-edit {
  background: none; border: none; color: var(--text3); cursor: pointer;
  font-size: 11px; padding: 4px 7px; border-radius: 6px;
  transition: all .15s; margin-left: 4px;
}
.header-breadcrumb-edit:hover { color: var(--accent); background: var(--surface-hover); }
.header-breadcrumb-member-initial {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}

/* User switcher */
.header-switcher-wrap {
  position: relative;
}
.header-switcher-wrap > .header-btn {
  width: auto;
  height: 32px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border2);
  border-radius: 8px;
}
.header-btn--impersonating {
  color: #f59e0b !important;
  border-color: #f59e0b !important;
}
.header-switcher-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-bg-card, var(--color-bg));
  border: 1px solid var(--border, rgba(128,128,128,.25));
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 1000;
  padding: 4px;
}
.header-switcher-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: none;
  color: var(--color-text-primary);
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  text-align: left;
}
.header-switcher-item:hover {
  background: var(--surface-hover, rgba(128,128,128,.12));
}
.header-switcher-initials {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-accent-blue, #3b82f6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  flex-shrink: 0;
}
.header-switcher-restore {
  color: #ef4444;
  font-weight: 600;
  border-bottom: 1px solid var(--border, rgba(128,128,128,.15));
  border-radius: 6px 6px 0 0;
  margin-bottom: 2px;
}

/* Impersonation bar */
.header-impersonation-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
}
.header-impersonation-bar button {
  margin-left: auto;
  padding: 3px 10px;
  border: none;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: #ef4444;
  color: #fff;
}
.header-impersonation-bar button:hover {
  background: #dc2626;
}

@media (max-width: 700px) {
  .header-shell { padding: 0 12px; }
  .header-shell .header-brand-text { display: none; }
  .header-shell .header-nav-link { font-size: 12px; padding: 6px 10px; }
  .header-shell .header-profile-link span:last-child { display: none; }
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 78px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: var(--color-sidebar-bg);
    border-right: 1px solid #eee;
  }

  .has-index-topbar .sidebar {
    top: 170px;
  }
}

/* Secretary agent (inline toolbar) */
.secretary-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.secretary-trigger {
  background: none;
  border: 1px solid var(--border, rgba(128,128,128,.2));
  color: var(--color-accent-blue, #3b82f6);
  border-radius: 6px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: background .15s, border-color .15s;
}
.secretary-trigger:hover, .secretary-trigger.active {
  background: var(--surface-hover, rgba(128,128,128,.1));
  border-color: var(--color-accent-blue, #3b82f6);
}

.secretary-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 400px;
  background: #1a1f2e;
  color: #e2e8f0;
  border: 1px solid rgba(128,128,128,.3);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  z-index: 100;
  overflow: hidden;
}

.secretary-input-row {
  display: flex;
  gap: 6px;
  padding: 10px;
  align-items: center;
}
.secretary-input {
  flex: 1;
  background: #0f1320;
  color: #e2e8f0;
  border: 1px solid rgba(128,128,128,.3);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.secretary-input::placeholder { color: #64748b; }
.secretary-input:focus {
  border-color: #3b82f6;
}
.secretary-send {
  background: var(--color-accent-blue, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
}
.secretary-send:disabled {
  opacity: .4;
  cursor: default;
}

.secretary-preview {
  border-top: 1px solid rgba(128,128,128,.2);
}
.secretary-preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(15,19,32,.5);
}
.secretary-apply-btn {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.secretary-apply-btn:hover { background: #16a34a; }

.secretary-preview-content {
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.5;
  color: #cbd5e1;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f1320;
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
  padding: 3px 17px;
  font-size:12px !important;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: var(--color-accent-link);
}

.nav a{
  font-size:13px !important;
}

/*
 * Main content
 */

.main {
  padding: 20px;
}

body.has-index-topbar .main{
  background-color: var(--color-white);
}

@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

@-moz-document url-prefix() {
  fieldset { display: table-cell; }
}

.table>tbody>tr>td{
  vertical-align: middle !important;
}

#table_products tbody tr.product_row td{
  transition: background-color .15s ease;
}

#table_products tbody tr.product_row:hover td{
  background-color:transparent;
}

#table_products tbody tr.product_row td:nth-child(2) img{
  transition: transform .18s ease;
  transform-origin: center center;
}

#table_products tbody tr.product_row td:nth-child(2) img:hover{
  transform: scale(2);
}

#table_products tbody tr.product_row td:nth-child(3){
  transition: transform .18s ease;
}

#table_products tbody tr.product_row td:nth-child(2):hover + td{
  transform: translateX(18px);
}

#active_order_topbar_txt{
	color:#333;
}

.sidebar-actions{
  margin: -20px -20px 14px -20px;
}

.sidebar-action{
  width:100%;
  background:transparent;
  border:0;
  color:#666;
  font-size:14px;
  font-weight:600;
  text-align:center;
  padding:12px 10px;
}

.sidebar-action-new{
  color: var(--color-accent-red);
  border-top:1px solid var(--color-sidebar-border);
  border-bottom:1px solid var(--color-sidebar-border);
  margin-bottom:16px;
}

.sidebar-action-promo{
  color: var(--color-accent-orange);
  border-top:1px solid var(--color-sidebar-border);
  border-bottom:1px solid var(--color-sidebar-border);
  margin-bottom:16px;
}

.sidebar-action-history{
  color: var(--color-accent-gold);
  border-top:1px solid var(--color-sidebar-border);
  border-bottom:1px solid var(--color-sidebar-border);
  margin-bottom:16px;
}

.sidebar-action-cart{
  color: var(--color-sidebar-cart);
  border-top:1px solid var(--color-sidebar-border);
  border-bottom:1px solid var(--color-sidebar-border);
}

.active-order-sidebar{
  color:#222 !important;
  font-size:12px;
  line-height:1.45;
  background-color:transparent;
  border:0;
  text-align:center;
  padding:6px 6px 8px 6px;
  margin:0 -20px 8px -20px;
}

.active-order-sidebar .topbar_fixed_txt{
  color:#222 !important;
  font-weight:700;
}

.active-order-sidebar .sidebar-order-row{
  margin-bottom:2px;
  font-weight:700;
}

.sidebar-validate-wrap{
  text-align:center;
  margin:0 0 20px 0;
}

.sidebar-validate-btn{
  min-width:106px;
  padding:6px 12px;
  font-size:12px;
  border-radius:3px;
}

#side_category,
#side_brand{
  margin:0 -20px 10px -20px;
}

#side_category > li.active > a,
#side_brand > li.active > a{
  background:transparent !important;
  color:#9a9a9a !important;
  text-align:center;
  font-size:15px !important;
  font-weight:500;
  letter-spacing:0.4px;
  border-top:1px solid var(--color-sidebar-border);
  border-bottom:1px solid var(--color-sidebar-border);
  padding:10px 8px !important;
}

#side_category .sidebar_li a,
#side_brand .sidebar_li a{
  padding:3px 18px !important;
  font-size:12px !important;
  color:#757575 !important;
  border:0;
}

#side_category .sidebar_li a .glyphicon,
#side_brand .sidebar_li a .glyphicon{
  color:#3f8fd8;
}

#side_category .sidebar_sub_li a{
  padding:2px 0 2px 36px !important;
  font-size:11px !important;
  color:#8a8a8a !important;
}

#side_category .sidebar_li a:hover,
#side_brand .sidebar_li a:hover,
#side_category .sidebar_sub_li a:hover{
  background:transparent !important;
  color:#4c4c4c !important;
}

.sidebar_li a{
  padding:1px 17px !important;
  font-size:12px;
  cursor: pointer;
}

.sidebar_sub_li a{
  padding:1px 0px 1px 35px !important;
  font-size:11px;
  color: black !important;
  cursor: pointer;
}

#table_products, #table_order, #table_order_details{
  font-size:11px;
}

#table_products tbody tr.product_row td{
  transition: background-color .15s ease, transform .15s ease;
}

#table_products tbody tr.product_row td > *{
  transition: transform .15s ease;
}

#table_products tbody tr.product_row:hover td{
  background-color:transparent;
}

#table_products tbody tr.product_row:hover td > *{
  transform: scale(1.03);
}

#table_order td.order-money-cell{
  text-align:right;
  white-space:nowrap;
}

#container_products{
  background-color: var(--color-white);
}

#table_order thead th.sortable-header{
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}

#table_order thead th.sortable-header .sort-indicator{
  margin-left:4px;
  font-size:14px;
  font-weight:800;
  line-height:1;
  color: var(--color-text-placeholder);
}

#table_order thead th.sortable-header.sorted-asc .sort-indicator,
#table_order thead th.sortable-header.sorted-desc .sort-indicator{
  color:#5f6b78;
}

#table_products thead th.product-sortable-header{
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}

#table_products thead th.product-sortable-header .sort-indicator{
  margin-left:4px;
  font-size:14px;
  font-weight:800;
  line-height:1;
  color: var(--color-text-placeholder);
}

#table_products thead th.product-sortable-header.sorted-asc .sort-indicator,
#table_products thead th.product-sortable-header.sorted-desc .sort-indicator{
  color:#5f6b78;
}

#table_products thead th[data-col-index="4"]{
  text-align:center;
}

#table_products tbody td.qty-dispo-cell{
  padding-left:6px;
  padding-right:6px;
}

#table_products tbody td.product-photo-cell{
  text-align:center;
  vertical-align:middle;
}

#table_products .product-photo-wrap{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
}

#table_products .product-photo-img{
  display:block;
  max-height:80px;
  max-width:100%;
  width:auto;
  object-fit:contain;
  margin:0 auto;
}

#table_products tbody td.qty-dispo-cell .qty-dispo-wrap{
  width:100%;
  justify-content:center;
}

#container_address_livraison, #container_address_facturation, #container_mode_transport{
  font-size:11px;
}

#cart_option_title_shipping{
  font-size:11px;
  font-weight:bold;
}

#cart_option_title_total{
  font-size:11px;
  text-align:center;
  font-weight:bold;
}

#address_facturation{
  margin-top:10px;
  margin-bottom:10px;
}

#cart_container{
  margin-top:50px;
}

#cart_head_row{
  margin-top:30px;
}

#cart_title_row{
  font-size:12px;
}

#cart_total_ht, #cart_total_tva, #cart_total_ttc, #cart_total_weight{
  margin-bottom:20px;
  text-align:center;
  font-size:11px;
}

.topbar_fixed_txt{
  color: orange;
}

.breadcrumb{
  background-color: var(--color-breadcrumb-bg);
  border-radius: 0px;
  text-align:right;
  font-size:13px;
  padding:4px 15px;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  width:100%;
  z-index:1000;
}

.filter_btn, .topbar_btn{
  width:150px;
}

.input_qty{
  width: 50px;
}

/* popover */
.popover-content{
  text-align:center;
}

.popover-title{
  font-size:10px;
  text-align:center;
}

.promo_price{
  color:red;
  font-weight:bold;
}

.removed td{
  background-color:#cecece !important;
}
