/* Namespaced Step 2 styles to avoid Step 1 collisions */
.mkep-step2 { margin-top: 10px; }
.mkep-step2__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
   margin-bottom:50px;
}
@media (max-width: 900px){
  .mkep-step2__grid { grid-template-columns: 1fr; }
}

.mkep-step2__left .mkep-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 16px;
}
.mkep-step2__right h2 { margin: 0 0 12px; }

#mkep-edit-positions.button {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

/* Summary */
.mkep-s2-summary .top {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.mkep-s2-summary .top .image img {
  width: 70px; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid #eee;
}
.mkep-s2-summary .item-info strong { display: block; }
.mkep-s2-summary .sku, .mkep-s2-summary .sub { color: #666; font-size: 13px; }
.mkep-s2-summary .breakdown { border-top: 1px dashed #ddd; margin-top: 10px; padding-top: 10px; }
.mkep-cost-row { display: flex; justify-content: space-between; padding: 6px 0; }
.mkep-cost-row.head { padding-top: 10px; color: #222; }
.mkep-cost-row .price { color: #0a7; font-weight: 600; }
.mkep-cost-row.total { border-top: 1px solid #eee; margin-top: 6px; padding-top: 10px; font-size: 15px; }
.mkep-cost-row.total .price { color: #000; }

/* Form */
.mkep-form .mkep-row { display: block; margin: 14px 0; }
.mkep-title { font-weight: 600; margin-bottom: 6px; }
.mkep-actions { }
.mkep-input, .mkep-textarea, .mkep-upload input[type="file"] {
  width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; font-size: 14px;
}
.mkep-textarea { resize: vertical; }

.mkep-toggle { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 10px; }
.mkep-toggle__opt {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #ddd; border-radius: 10px; padding: 10px 12px; cursor: pointer;
  user-select: none; background: #fafafa;
}
.mkep-toggle__opt input[type="radio"] { transform: scale(1.1); }

.mkep-cards { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 12px; }
.mkep-card {
  position: relative; border: 1px solid #ddd; border-radius: 12px; background: #fff;
}
.mkep-card.is-selected { border-color: #0a7; box-shadow: 0 0 0 2px rgba(0,170,119,0.1); }
.mkep-card input[type="radio"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mkep-card__inner { display: block; padding: 14px; text-align: center; font-weight: 600; }

.mkep-radio-list { display: grid; gap: 8px; }
.mkep-radio { display: flex; align-items: center; gap: 8px; }
.mkep-radio input[type="radio"] { transform: scale(1.05); }

.mkep-upload { margin-top: 10px; }
.mkep-upload.is-hidden { display: none; }
.mkep-hint { font-size: 12px; color: #666; margin-top: 6px; }

.mkep-login-box {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px dashed #cfe; background: #f7fffb; padding: 10px 12px; border-radius: 10px; margin-bottom: 6px;
}
.mkep-btn { display:inline-block; padding:8px 12px; border-radius:8px; border:1px solid #ddd; cursor:pointer; }
/* Disabled state */
.mkep-btn.disabled,
.mkep-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
    background: #f5f5f5;
    color: #999;
    border-color: #eee;
}
.mkep-btn--ghost { background: #fff; }

.mkep-step2__nav { display:flex; gap:10px; margin-top: 14px; }
#mkep-back.button, #mkep-next.button,
#mkep-back, #mkep-next {
  display:inline-block; text-decoration:none; padding:10px 14px; border-radius:8px;
}
#mkep-back { background:#fff; border:1px solid #ccc; color:#333; }
#mkep-next { background:#0a7; border:1px solid #0a7; color:#fff; }
/* === Compact header layout with preview on the right === */
.mkep-step2 .mkep-head-row {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.mkep-step2 .mkep-head-left .mkep-field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* keep the segmented buttons from stretching full width */
.mkep-step2 .mkep-segcontrol,
.mkep-step2 .mkep-segcontrol + .mkep-segcontrol {
  max-width: 520px;
}

/* a light card around the preview */
.mkep-step2 .mkep-preview-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 12px;
}

.mkep-step2 .mkep-preview-card img,
.mkep-step2 .mkep-preview-card svg,
.mkep-step2 .mkep-preview-card canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* fall back to stacked on small screens */
@media (max-width: 900px) {
  .mkep-step2 .mkep-head-row {
    grid-template-columns: 1fr;
  }
}
/* === MKEP Premium accordion customiser refresh === */
.mkep-step2 { --mkep-green:#00a66a; --mkep-green-dark:#008b59; --mkep-border:#e5e7eb; --mkep-soft:#f8fafc; --mkep-text:#111827; --mkep-muted:#6b7280; }
.mkep-step2__grid{grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start;max-width:1400px;margin:0 auto;}
.mkep-step2__left{position:sticky;top:24px;}
.mkep-step2__left .mkep-box{background:#fff;border:1px solid var(--mkep-border);border-radius:12px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.mkep-step2__left .mkep-box h3{font-size:20px;margin:0 0 16px;color:var(--mkep-text)}
.mkep-step2__right{min-width:0;}
.mkep-step2-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:0 0 18px;gap:16px;}
.mkep-step2-topbar h2{margin:0;text-align:center;font-size:26px;line-height:1.2;color:var(--mkep-text);font-weight:600;}
.mkep-back-product{color:#111827;text-decoration:none;font-weight:600;}
.mkep-help{justify-self:end;color:#111827;font-weight:600;}
.mkep-step2-quick{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--mkep-border);border-radius:12px;padding:16px;margin-bottom:14px;box-shadow:0 8px 24px rgba(15,23,42,.05);}
.mkep-quick-label{color:var(--mkep-muted);font-weight:600;margin-right:4px;}
.mkep-quick-btn{appearance:none;background:#fff!important;border:1px solid #d7dde6!important;border-radius:8px;padding:10px 18px;font-weight:600;cursor:pointer;transition:all .2s ease;color:#111827!important;box-shadow:none!important;}
.mkep-quick-btn:hover{border-color:#111827!important;color:#111827!important;background:#fff!important;box-shadow:0 4px 14px rgba(17,24,39,.08)!important;transform:translateY(-1px)}
.mkep-quick-btn--danger{color:#111827!important;border-color:#d7dde6!important;background:#fff!important;}
.mkep-step2-accordion{display:flex;flex-direction:column;gap:10px;margin-bottom:0;}
.mkep-acc-row{width:100%;display:grid;grid-template-columns:40px minmax(180px,1fr) minmax(140px,220px) 110px 28px;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid var(--mkep-border);border-radius:10px;padding:16px 18px;cursor:pointer;transition:all .2s ease;color:var(--mkep-text);box-shadow:0 4px 16px rgba(15,23,42,.04)}
.mkep-acc-row:hover{border-color:#a7f3d0;box-shadow:0 8px 24px rgba(0,166,106,.08)}
.mkep-acc-row.is-open{border-color:var(--mkep-green);border-bottom-left-radius:0;border-bottom-right-radius:0;background:linear-gradient(90deg,rgba(0,166,106,.06),#fff)}
.mkep-acc-num{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eef2f7;color:#111827;font-weight:800;}
.mkep-acc-row.is-open .mkep-acc-num{background:var(--mkep-green);color:#fff;}
.mkep-acc-main{display:flex;align-items:center;gap:12px;min-width:0;}
.mkep-acc-main strong{font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mkep-acc-main em{font-style:normal;font-size:12px;padding:4px 10px;border-radius:999px;font-weight:700;white-space:nowrap;}
.mkep-acc-main em.is-done{background:#dff7eb;color:#047857;}
.mkep-acc-main em.is-pending{background:#fff3db;color:#c56a00;}
.mkep-acc-method{color:#374151;justify-self:end;}
.mkep-acc-price{font-weight:800;justify-self:end;white-space:nowrap;}
.mkep-acc-chevron{font-size:20px;color:#4b5563;text-align:right;}
.mkep-step2-form-panel{background:#fff;border:1px solid var(--mkep-green);border-top:0;border-radius:0 0 12px 12px;padding:22px;margin-bottom:10px;box-shadow:0 12px 28px rgba(0,166,106,.08);}
.mkep-step2 .mkep-login-box{background:#f0fdf8;border:1px solid #bbf7d0;border-radius:10px;padding:12px 14px;margin-bottom:14px;}
.mkep-step2 .mkep-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.mkep-step2 .mkep-toggle__opt,.mkep-step2 .mkep-card{border:1px solid #d7dde6!important;border-radius:9px!important;background:#fff!important;padding:12px 16px!important;text-align:center;font-weight:700;transition:all .2s ease;}
.mkep-step2 .mkep-toggle__opt:has(input:checked),.mkep-step2 .mkep-card.is-selected{border-color:var(--mkep-green)!important;box-shadow:0 0 0 1px var(--mkep-green) inset;background:#f8fffc!important;}
.mkep-step2 .mkep-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:520px;}
.mkep-step2 .mkep-title{font-weight:800;margin:0 0 10px;color:var(--mkep-text);}
.mkep-step2 .mkep-row{margin-bottom:18px;}
.mkep-step2 .mkep-radio-list{display:flex;gap:12px;flex-wrap:wrap;}
.mkep-step2 .mkep-radio{border:1px solid #d7dde6;border-radius:9px;padding:10px 14px;background:#fff;font-weight:600;}
.mkep-step2 .mkep-existing__strip{gap:12px;}
.mkep-step2 .mkep-logo{border-radius:10px;border-color:#e5e7eb;padding:6px;background:#fff;}
.mkep-step2 .mkep-logo img,.mkep-step2 .mkep-logo__icon{width:64px;height:64px;}
.mkep-step2 .mkep-logo.is-selected{border-color:var(--mkep-green);box-shadow:0 0 0 3px rgba(0,166,106,.15)}
.mkep-step2 .mkep-textarea,.mkep-step2 .mkep-input,.mkep-step2 .mkep-select{border:1px solid #d7dde6;border-radius:9px;padding:12px;width:100%;}
.mkep-step2 .mkep-preview-card{border-radius:12px;border:1px solid var(--mkep-border);padding:18px;max-width:330px;box-shadow:none;}
.mkep-step2__nav{position:sticky;bottom:0;background:#fff;border:1px solid var(--mkep-border);border-radius:12px;padding:14px 16px;margin-top:18px;display:flex;align-items:center;gap:12px;box-shadow:0 -8px 28px rgba(15,23,42,.08);z-index:9;}
.mkep-step2__nav .mkep-secure-note{margin-right:auto;color:#111827;line-height:1.3;}
.mkep-step2__nav .mkep-secure-note span{color:var(--mkep-muted);font-size:13px;}
.mkep-step2__nav .button{border-radius:8px!important;padding:12px 18px!important;font-weight:800!important;text-decoration:none!important;}
.mkep-step2__nav .button-primary{background:var(--mkep-green)!important;border-color:var(--mkep-green)!important;color:#fff!important;min-width:180px;text-align:center;}
.mkep-step2__nav .button-primary:hover{background:var(--mkep-green-dark)!important;border-color:var(--mkep-green-dark)!important;}
.mkep-step2__nav .button-secondary{background:#fff!important;border:1px solid #d7dde6!important;color:#111827!important;}
@media (max-width:980px){.mkep-step2__grid{grid-template-columns:1fr}.mkep-step2__left{position:static}.mkep-step2-topbar{grid-template-columns:1fr}.mkep-step2-topbar h2{text-align:left}.mkep-help{justify-self:start}.mkep-step2-quick{flex-wrap:wrap}.mkep-acc-row{grid-template-columns:34px 1fr 24px}.mkep-acc-method,.mkep-acc-price{display:none}.mkep-step2__nav{position:static;flex-wrap:wrap}.mkep-step2__nav .mkep-secure-note{width:100%;}.mkep-step2__nav .button{flex:1;text-align:center}.mkep-head-row{grid-template-columns:1fr!important}.mkep-step2 .mkep-toggle,.mkep-step2 .mkep-cards{grid-template-columns:1fr}}

/* === v4.2 fixes: inline sliding accordion panel and selected logo tick === */
.mkep-step2-accordion #mkep-step2-form{
  transition:max-height .28s ease, opacity .22s ease;
  will-change:max-height, opacity;
}
.mkep-step2-accordion #mkep-step2-form.mkep-panel-open{
  overflow:visible!important;
}
.mkep-step2 .mkep-logo{position:relative;overflow:visible;}
.mkep-step2 .mkep-logo.is-selected::after{
  content:"✓";
  position:absolute;
  top:-8px;
  right:-8px;
  width:22px;
  height:22px;
  border-radius:999px;
  background:var(--mkep-green,#00a66a);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:900;
  box-shadow:0 4px 10px rgba(0,0,0,.16);
  z-index:2;
}
.mkep-step2 .mkep-logo.is-selected{border-color:var(--mkep-green,#00a66a)!important;box-shadow:0 0 0 3px rgba(0,166,106,.14)!important;}

/* === v4.3 fixes: accordion hover, collapsible panel, left summary statuses === */
.mkep-step2 .mkep-acc-row,
.mkep-step2 .mkep-acc-row:hover,
.mkep-step2 .mkep-acc-row:focus,
.mkep-step2 .mkep-acc-row:active,
.mkep-step2 .mkep-acc-row:hover *:not(.mkep-acc-num),
.mkep-step2 .mkep-acc-row:focus *:not(.mkep-acc-num),
.mkep-step2 .mkep-acc-row:active *:not(.mkep-acc-num){
  color:var(--mkep-text,#111827)!important;
}
.mkep-step2 .mkep-acc-row.is-open .mkep-acc-num,
.mkep-step2 .mkep-acc-row.is-open:hover .mkep-acc-num{
  color:#fff!important;
}
.mkep-step2 .mkep-acc-main em.is-done,
.mkep-step2 .mkep-acc-row:hover .mkep-acc-main em.is-done{
  color:#047857!important;
}
.mkep-step2 .mkep-acc-main em.is-pending,
.mkep-step2 .mkep-acc-row:hover .mkep-acc-main em.is-pending{
  color:#c56a00!important;
}

.mkep-step2__left #mkep-edit-positions{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  margin-top:14px;
  padding:12px 14px!important;
  border:1px solid #d7dde6!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#111827!important;
  font-weight:400!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.mkep-step2__left #mkep-edit-positions::before{
  content:"✎";
  font-size:16px;
  line-height:1;
}
.mkep-step2__left #mkep-edit-positions:hover{
  border-color:var(--mkep-green,#00a66a)!important;
  color:#111827!important;
  background:#f8fffc!important;
}

.mkep-app-charge-row{align-items:flex-start!important;gap:10px;}
.mkep-charge-left{display:flex;align-items:flex-start;gap:10px;min-width:0;}
.mkep-charge-left strong{display:block;font-weight:500;color:#374151;line-height:1.2;}
.mkep-charge-left small{display:block;margin-top:3px;font-size:12px;line-height:1.2;color:#8a94a6;}
.mkep-charge-dot{width:14px;height:14px;min-width:14px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;margin-top:2px;font-size:10px;font-style:normal;font-weight:900;}
.mkep-app-charge-row.is-done .mkep-charge-dot{background:var(--mkep-green,#00a66a);color:#fff;}
.mkep-app-charge-row.is-pending .mkep-charge-dot{background:#ffb65a;color:#fff;}
.mkep-app-charge-row.is-done .mkep-charge-left small{color:#6b7280;}
.mkep-app-charge-row .price{padding-top:0;white-space:nowrap;}

/* === v4.4 visual cleanup === */
.mkep-step2 .mkep-card__inner{display:inline-flex;align-items:center;justify-content:center;gap:8px;}
.mkep-step2 .mkep-card__icon{font-size:18px;line-height:1;display:inline-flex;align-items:center;}
.mkep-step2 .mkep-step2-topbar h2{font-weight:600!important;}
.mkep-step2 .mkep-quick-btn,.mkep-step2 .mkep-quick-btn:hover,.mkep-step2 .mkep-quick-btn:focus{color:#111827!important;}
.mkep-step2__left #mkep-edit-positions{font-weight:400!important;}

/* === v4.4.2 final UI polish === */
.mkep-step2 .mkep-acc-row:hover,
.mkep-step2 .mkep-acc-row:focus{
  background:#f5f6f8!important;
  border-color:#d7dde6!important;
  box-shadow:0 6px 18px rgba(15,23,42,.06)!important;
}
.mkep-step2 .mkep-acc-row:hover *,
.mkep-step2 .mkep-acc-row:focus *{
  color:inherit!important;
}
.mkep-step2 .mkep-acc-row.is-open:hover{
  background:#f5f6f8!important;
}
.mkep-step2 .mkep-step2-topbar h2,
.mkep-step2-topbar h2{
  font-size:22px!important;
  font-weight:500!important;
}
.mkep-step2 .mkep-toggle__opt,
.mkep-step2 .mkep-card{
  min-height:64px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.mkep-step2__left .mkep-box h3{
  font-size:20px!important;
  font-weight:600!important;
}

/* === v4.5 artwork guidelines + upload validation === */
.mkep-artwork-help-card{
  margin-top:16px;
  padding:18px;
  border:1px solid #bbf7d0;
  border-radius:12px;
  background:#f0fdf8;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.mkep-artwork-help-card h4{margin:0 0 8px;font-size:15px;font-weight:700;color:#111827;}
.mkep-artwork-help-card h4::before{content:"✥";display:inline-flex;margin-right:8px;color:var(--mkep-green,#00a66a);}
.mkep-artwork-help-card p{margin:0 0 14px;color:#4b5563;font-size:14px;line-height:1.45;}
.mkep-guidelines-btn{appearance:none;border:1px solid var(--mkep-green,#00a66a);background:#fff;color:#047857;border-radius:8px;padding:10px 14px;font-weight:600;cursor:pointer;transition:all .2s ease;}
.mkep-guidelines-btn:hover{background:#f8fffc;color:#047857;border-color:#047857;}
.mkep-modal{display:none;position:fixed;inset:0;z-index:99999;align-items:center;justify-content:center;padding:20px;}
.mkep-modal.is-open{display:flex;}
.mkep-modal__backdrop{position:absolute;inset:0;background:rgba(17,24,39,.55);}
.mkep-modal__dialog{position:relative;width:min(720px,100%);max-height:86vh;overflow:auto;background:#fff;border-radius:16px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.28);}
.mkep-modal__close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#111827;font-size:22px;line-height:1;cursor:pointer;}
.mkep-modal__dialog h3{margin:0 44px 16px 0;font-size:22px;font-weight:600;color:#111827;}
.mkep-modal__body{color:#374151;}
.mkep-guidelines-lead{font-size:15px;line-height:1.5;color:#4b5563;margin:0 0 18px;}
.mkep-guidelines-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.mkep-guidelines-grid section{border:1px solid #e5e7eb;border-radius:12px;padding:14px;background:#fafafa;}
.mkep-guidelines-grid h4{margin:0 0 8px;font-size:14px;font-weight:700;color:#111827;}
.mkep-guidelines-grid ul{margin:0;padding-left:18px;}
.mkep-guidelines-grid li{margin:5px 0;font-size:14px;line-height:1.4;}
.mkep-guidelines-note{margin-top:16px;border:1px solid #bbf7d0;background:#f0fdf8;border-radius:12px;padding:14px;color:#065f46;line-height:1.45;}
.mkep-step2 .mkep-dropzone small{display:inline-block;margin:6px 0 10px;color:#6b7280;font-size:12px;}
.mkep-step2 .mkep-dropzone strong{font-size:15px;color:#111827;}
.mkep-step2 .mkep-dropzone span{color:#4b5563;}
.mkep-ok{color:#047857;font-weight:700;}
@media (max-width:700px){.mkep-guidelines-grid{grid-template-columns:1fr}.mkep-modal__dialog{padding:20px}}


/* === v4.5.1 guidelines modal patch === */
#mkep-guidelines-modal.mkep-modal{display:none!important;}
#mkep-guidelines-modal.mkep-modal.is-open{display:flex!important;}
#mkep-guidelines-modal .mkep-modal__close,
#mkep-guidelines-modal .mkep-modal__close:hover,
#mkep-guidelines-modal .mkep-modal__close:focus{
  background:#fff!important;
  color:#111827!important;
  border-color:#e5e7eb!important;
  box-shadow:none!important;
  outline:none!important;
}
#mkep-guidelines-modal .mkep-modal__close:hover{
  background:#f3f4f6!important;
}

/* v4.5.2 stable modal/upload hotfix */
#mkep-guidelines-modal{display:none;}
#mkep-guidelines-modal.is-open{display:flex!important;}
#mkep-guidelines-modal .mkep-modal__close,
#mkep-guidelines-modal .mkep-modal__close:hover,
#mkep-guidelines-modal .mkep-modal__close:focus{
    background:#111!important;
    color:#fff!important;
    border-color:#111!important;
    box-shadow:none!important;
}
#mkep-guidelines-modal .mkep-modal__close:hover{background:#333!important;}

/* === v4.5.4 UI polish: wider guidelines modal, neutral upload button, centered labels === */
.mkep-step2-topbar{grid-template-columns:1fr auto 1fr;}
.mkep-step2-topbar .mkep-help{display:none!important;}
#mkep-guidelines-modal .mkep-modal__dialog{
  width:min(920px, calc(100vw - 40px))!important;
  max-width:920px!important;
}
#mkep-guidelines-modal .mkep-modal__close,
#mkep-guidelines-modal .mkep-modal__close:hover,
#mkep-guidelines-modal .mkep-modal__close:focus{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
  padding:0!important;
  font-size:20px!important;
  font-weight:400!important;
}
.mkep-step2 #mkep_browse,
.mkep-step2 .mkep-dropzone #mkep_browse,
.mkep-step2 button#mkep_browse.mkep-btn,
.mkep-step2 button#mkep_browse.mkep-btn--ghost{
  background:#111827!important;
  border-color:#111827!important;
  color:#fff!important;
  box-shadow:none!important;
}
.mkep-step2 #mkep_browse:hover,
.mkep-step2 #mkep_browse:focus{
  background:#333!important;
  border-color:#333!important;
  color:#fff!important;
}
.mkep-step2 .mkep-preview-card,
.mkep-step2 .mkep-preview-card *{
  text-align:center;
}
.mkep-step2 .mkep-preview-card img{
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:700px){
  #mkep-guidelines-modal .mkep-modal__dialog{width:calc(100vw - 24px)!important;}
}

/* v4.6.2: Text logo editor layout - fields left, preview right */
.mkep-step2 #mkep-text-wrap .mkep-text__row{display:grid !important;grid-template-columns:minmax(0,1fr) minmax(280px,380px) !important;gap:22px !important;align-items:start !important;}
.mkep-step2 #mkep-text-wrap .mkep-text__preview{order:2;width:100%;}
.mkep-step2 #mkep-text-wrap .mkep-text__left{order:1;width:100%;}
.mkep-step2 #mkep-text-wrap .mkep-text__preview .mkep-card{width:100%;display:block !important;text-align:center;}
.mkep-step2 #mkep-text-wrap .mkep-card__title{display:block;width:100%;margin:0 0 12px;text-align:center;font-weight:700;}
.mkep-step2 #mkep_text_prev{width:100%;min-height:220px;max-width:none;}
.mkep-step2 #mkep-text-wrap .mkep-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
@media (max-width:767px){.mkep-step2 #mkep-text-wrap .mkep-text__row{grid-template-columns:1fr !important;}.mkep-step2 #mkep-text-wrap .mkep-grid2{grid-template-columns:1fr;}}
