/* imart Unified Cart & 1-Click Fast Checkout Styles */
:root {
  --imart-cart-primary: #ea580c;
  --imart-cart-primary-hover: #c2410c;
  --imart-cart-accent: #f59e0b;
  --imart-cart-bg-dark: #0f172a;
  --imart-cart-bg-card: #1e293b;
  --imart-cart-border: #334155;
  --imart-cart-text: #f8fafc;
  --imart-cart-muted: #94a3b8;
  --imart-cart-success: #10b981;
}

/* Add to Cart Button in product lists */
.imart-btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-family: inherit;
  margin-top: 6px;
  width: 100%;
}
.imart-btn-add-cart:hover {
  background: linear-gradient(135deg, #c2410c, #d97706);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}
.imart-btn-add-cart:active {
  transform: translateY(1px);
}
.imart-btn-add-cart.added {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* Floating Cart Pill at Bottom-Right */
#imart-floating-cart-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #1e3a8a;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  font-size: 14px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto !important;
}
@media (max-width: 768px) {
  #imart-floating-cart-btn {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    padding: 0 !important;
    z-index: 99990 !important;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.2) !important;
  }
  body[data-imart-page="shop"] #pwaInstallBanner {
    bottom: calc(146px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
body[data-imart-page="shop"] #imart-floating-cart-btn {
  display: flex !important;
}
#imart-floating-cart-btn:hover {
  transform: translateY(-2px);
  border-color: #93b4e8;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}
#imart-floating-cart-btn.bump {
  animation: imartCartBump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes imartCartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.15) translateY(-5px); }
  100% { transform: scale(1); }
}

.imart-cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
}
.imart-cart-badge {
  position: absolute;
  top: -12px;
  right: -13px;
  background: #e45512;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 9999px;
  text-align: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.imart-cart-btn-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.imart-cart-btn-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}
.imart-cart-btn-total {
  font-size: 15px;
  font-weight: 800;
  color: #f59e0b;
}

/* Modals & Backdrop */
.imart-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100001 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.imart-cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

body.imart-cart-open #imart-floating-cart-btn,
body.imart-drawer-open #imart-floating-cart-btn {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.8) !important;
}

.imart-cart-drawer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 88vh;
  max-height: 760px;
  background: #0f172a;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-left: 1px solid #334155;
  border-top: 1px solid #334155;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 100002 !important;
  display: flex;
  flex-direction: column;
  transform: translateY(105%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #f8fafc;
  font-family: inherit;
}
@media (min-width: 640px) {
  .imart-cart-drawer {
    top: 0;
    bottom: 0;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
.imart-cart-drawer.open {
  transform: translateY(0);
}
@media (min-width: 640px) {
  .imart-cart-drawer.open {
    transform: translateX(0);
  }
}

/* Drawer Header */
.imart-cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #334155;
  background: #1e293b;
}
.imart-cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}
.imart-cart-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.imart-cart-close-btn:hover {
  background: #334155;
  color: #fff;
}

/* Drawer Body & Items */
.imart-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.imart-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  color: #94a3b8;
}
.imart-cart-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.imart-cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}
.imart-cart-item:hover {
  border-color: #475569;
}
.imart-cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #0f172a;
}
.imart-cart-item-info {
  min-width: 0;
}
.imart-cart-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.imart-cart-item-code {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.imart-cart-item-price {
  font-size: 13px;
  font-weight: 800;
  color: #f59e0b;
}
.imart-cart-item-retail {
  font-size: 11px;
  color: #64748b;
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

.imart-cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.imart-cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid #475569;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
}
.imart-cart-qty-btn {
  background: transparent;
  border: none;
  color: #f8fafc;
  width: 28px;
  height: 28px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.imart-cart-qty-btn:hover {
  background: #334155;
}
.imart-cart-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}
.imart-cart-remove-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.imart-cart-remove-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Drawer Footer */
.imart-cart-drawer-footer {
  border-top: 1px solid #334155;
  background: #1e293b;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 639px) {
  .imart-cart-drawer-footer {
    flex-shrink: 0;
    padding-bottom: calc(16px + max(56px, env(safe-area-inset-bottom, 0px)));
  }
}
.imart-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #cbd5e1;
}
.imart-cart-summary-total {
  font-size: 20px;
  font-weight: 900;
  color: #ea580c;
}
.imart-cart-summary-savings {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
}
.imart-cart-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.2s;
  font-family: inherit;
}
.imart-cart-btn-checkout:hover {
  background: linear-gradient(135deg, #c2410c, #d97706);
  transform: translateY(-1px);
}
.imart-cart-btn-clear {
  background: transparent;
  border: 1px solid #475569;
  color: #94a3b8;
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.imart-cart-btn-clear:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* 1-Click Fast Checkout Modal (Shared Standard) */
.imart-checkout-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 92%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 30px rgba(234, 88, 12, 0.2);
  z-index: 100005 !important;
  color: #f8fafc;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  font-family: inherit;
}
.imart-checkout-dialog.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.imart-checkout-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid #334155;
  padding-bottom: 12px;
}
.imart-checkout-dialog-header h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #f8fafc;
}
.imart-checkout-dialog-header p {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.imart-checkout-form-group {
  margin-bottom: 14px;
}
.imart-checkout-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.imart-checkout-input, .imart-checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 10px;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.imart-checkout-input:focus, .imart-checkout-textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.imart-checkout-textarea {
  min-height: 72px;
  resize: vertical;
}

.imart-checkout-items-preview {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  max-height: 140px;
  overflow-y: auto;
  font-size: 12px;
}
.imart-checkout-preview-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #cbd5e1;
}
.imart-checkout-preview-line strong {
  color: #f59e0b;
}

.imart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.imart-btn-line-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #06c755;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.imart-btn-line-checkout:hover {
  background: #05b04b;
  transform: translateY(-1px);
}
.imart-btn-copy-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #334155;
  color: #f8fafc;
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.imart-btn-copy-checkout:hover {
  background: #475569;
}
.imart-btn-save-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.imart-btn-save-checkout:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
}

/* Toast */
.imart-cart-toast {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 100000;
  background: #059669;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.imart-cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Guided Step-by-Step Official Site Buyer Modal */
.imart-cart-btn-guided {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff !important;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s;
  font-family: inherit;
  width: 100%;
}
.imart-cart-btn-guided:hover {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.imart-cart-btn-guided-primary {
  width: 100%;
  background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.2px;
}
.imart-cart-btn-guided-primary:hover {
  background: linear-gradient(135deg, #c2410c 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.45);
}
.imart-cart-btn-guided-primary:active {
  transform: translateY(1px);
}

.imart-cart-btn-checkout-subtle {
  width: 100%;
  background: #1e293b;
  color: #cbd5e1 !important;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.15s ease;
  margin-top: 4px;
}
.imart-cart-btn-checkout-subtle:hover {
  background: #334155;
  color: #ffffff !important;
}

.imart-cart-item-partner-btn {
  background: rgba(37, 99, 235, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  transition: all 0.15s ease;
  font-family: inherit;
}
.imart-cart-item-partner-btn:hover {
  background: rgba(37, 99, 235, 0.35);
  color: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.imart-header-cart-badge {
  animation: cartBadgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cartBadgePop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.imart-cart-item-row-link {
  font-size: 11px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 3px;
}
.imart-cart-item-row-link:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

.imart-guided-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 94%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: #0b1329;
  border: 1px solid #334155;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 35px rgba(37, 99, 235, 0.25);
  z-index: 100005 !important;
  color: #f8fafc;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  font-family: inherit;
  box-sizing: border-box;
}
.imart-guided-dialog.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.imart-guided-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 12px;
}
.imart-guided-title-wrap h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}
.imart-guided-title-wrap p {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.imart-guided-progress-wrap {
  margin-bottom: 16px;
  background: #1e293b;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
}
.imart-guided-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.imart-guided-progress-track {
  width: 100%;
  height: 8px;
  background: #0f172a;
  border-radius: 9999px;
  overflow: hidden;
}
.imart-guided-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #10b981);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.imart-guided-spotlight {
  background: #131d38;
  border: 1px solid #2563eb40;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.imart-guided-spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 10px;
}
.imart-guided-spotlight-step {
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
}
.imart-guided-product-grid {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.imart-guided-img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  background: #0f172a;
  border: 1px solid #334155;
}
.imart-guided-info h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
}
.imart-guided-code {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.imart-guided-price-row {
  font-size: 14px;
  font-weight: 800;
  color: #f59e0b;
}

.imart-guided-qty-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px dashed #f59e0b;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.imart-guided-qty-label {
  font-size: 13px;
  font-weight: 700;
  color: #fcd34d;
}
.imart-guided-qty-highlight {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  background: #ea580c;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
}

.imart-guided-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.imart-guided-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.2s;
  text-align: center;
}
.imart-guided-open-btn:hover {
  background: linear-gradient(135deg, #c2410c, #d97706);
  transform: translateY(-1px);
}
.imart-guided-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.imart-guided-next-btn {
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.imart-guided-next-btn:hover {
  background: #059669;
}
.imart-guided-skip-btn {
  background: #334155;
  color: #cbd5e1;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.imart-guided-skip-btn:hover {
  background: #475569;
  color: #fff;
}

.imart-guided-hint {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  margin-top: 10px;
  background: rgba(15, 23, 42, 0.6);
  padding: 8px 10px;
  border-radius: 8px;
}

.imart-guided-queue-wrap {
  border-top: 1px solid #1e293b;
  padding-top: 14px;
}
.imart-guided-queue-title {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 8px;
}
.imart-guided-queue-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
}
.imart-guided-queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  color: #e2e8f0;
}
.imart-guided-queue-row:hover {
  background: #334155;
}
.imart-guided-queue-row.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}
.imart-guided-queue-row.done {
  border-color: #10b98140;
  color: #94a3b8;
}
.imart-guided-status-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.imart-guided-status-tag.done {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.imart-guided-status-tag.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.imart-guided-status-tag.skipped {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

/* Done Completion Screen */
.imart-guided-done-wrap {
  text-align: center;
  padding: 16px 8px;
}
.imart-guided-done-icon {
  font-size: 48px;
  margin-bottom: 8px;
}
.imart-guided-done-title {
  font-size: 20px;
  font-weight: 800;
  color: #10b981;
  margin: 0 0 6px 0;
}
.imart-guided-done-desc {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.5;
}
.imart-guided-done-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.imart-guided-cart-official-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s;
}
.imart-guided-cart-official-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
}
