
.mc-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1700;
}
.mc-panel{
  position: fixed;
  top: 0;
  right: -440px;
  width: 440px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: .3s;
  z-index: 1701;
}
.mc-panel.open{right:0}

/*.mc-header{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}
.mc-close{background:none;border:none;font-size:22px;cursor:pointer}*/

.mc-body{flex:1;overflow-y:auto;padding:20px;padding-bottom:140px}
.mc-step{display:none}.mc-step.active{display:block}

.mc-multi{display:grid;grid-template-columns:1fr;gap:12px;margin-top:8px}
.mc-multi label{padding:14px;border:1px solid #d1d5db;border-radius:12px;cursor:pointer;display:flex;gap:10px;font-weight:500}
.mc-multi label:has(input:checked){border-color:#2563eb;background:#eff6ff}

.mc-note{background:#eff6ff;padding:10px;border-radius:8px;font-size:12px;color:#1e40af;margin-top:10px}
.mc-global-note{background:#fffbeb;padding:12px;border-radius:10px;font-size:12px;color:#92400e;margin-top:16px}

.mc-bill{background:#f9fafb;padding:16px;border-radius:12px}
.mc-bill div{display:flex;justify-content:space-between;margin-bottom:8px}
.mc-bill .total{font-weight:700;font-size:16px}

.mc-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e5e7eb;padding:14px 20px;display:flex;gap:12px}
.mc-footer button{flex:1;height:44px;border:none;border-radius:10px;font-weight:600}
.mc-footer button:first-child{background:#f1f5f9}
.mc-footer button:last-child{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 8px 20px rgba(37,99,235,.35)}

.hidden{display:none!important}

.mc-header {
  padding: 22px 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mc-header h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.mc-header p {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.mc-close {
  background: #f3f4f6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.mc-close:hover {
  background: #e5e7eb;
}

/*Inputs: soft, rounded, premium*/
.mc-body label {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  margin-top: 16px;
  display: block;
}

.mc-body input[type="text"],
.mc-body input[type="number"],
.mc-body input[type="date"],
.mc-body input[type="time"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.mc-body input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/*Printing Type → Card-style selectable tiles (KEY UPGRADE)*/
.mc-multi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
}

.mc-multi label {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  background: #ffffff;
  transition: all 0.25s ease;
}

.mc-multi input {
  accent-color: #2563eb;
  transform: scale(1.15);
}

.mc-multi label:hover {
  border-color: #2563eb;
  background: #f8fafc;
}

.mc-multi label:has(input:checked) {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border-color: #2563eb;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
}

/*Quantity sections → elegant info cards*/
#mcMugBox,
#mcCapBox,
#mcKeyBox {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

/*Notes: clean info & warning blocks*/
.mc-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 12px;
  border-radius: 12px;
  display: flex;
  gap: 8px;
}

.mc-global-note {
  margin: 18px 0;
  padding: 14px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  border-radius: 14px;
  line-height: 1.5;
}

/*Bill summary: clean pricing card*/
.mc-bill {
  background: #f9fafb;
  border-radius: 16px;
  padding: 18px;
  margin-top: 10px;
}

.mc-bill div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.mc-bill hr {
  border-top: 1px dashed #d1d5db;
  margin: 12px 0;
}

.mc-bill .total {
  font-size: 17px;
  font-weight: 800;
}

/*Footer buttons: modern CTA emphasis*/
.mc-footer {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  z-index: 10;
}

.mc-footer button {
  flex: 1;
  height: 46px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

/* Back */
.mc-footer button:first-child {
  background: #f3f4f6;
  color: #1f2937;
}

/* Primary CTA */
.mc-footer button:last-child {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

/* =========================================
   UNIVERSAL MOBILE PANEL SYSTEM
========================================= */

@media (max-width: 640px){

  .logo-panel,
  .flex-panel,
  .gst-panel,
  .web-panel,
  .ts-panel,
  .company-panel,
  .lam-panel,
  .mc-panel,
  .pan-panel,
  .print-panel,
  .vc-panel,
  .voter-panel {
    width: 100% !important;
    max-width: 100% !important;
    right: -100% !important;
    border-radius: 0 !important;
  }

  .logo-panel.open,
  .flex-panel.open,
  .gst-panel.open,
  .web-panel.open,
  .ts-panel.open,
  .company-panel.open,
  .lam-panel.open,
  .mc-panel.open,
  .pan-panel.open,
  .print-panel.open,
  .vc-panel.open,
  .voter-panel.open {
    right: 0 !important;
  }
}