/* MG v4.8: art integrated into native Speedy headings, no duplicated icons */
.simple-content{--mg-red:#b51b32;--mg-line:#e9e6e8;--mg-ink:#242028}
.simple-content .simplecheckout-block{background:#fff!important;border:1px solid var(--mg-line)!important;border-radius:13px!important;margin-bottom:15px!important;box-shadow:0 3px 16px rgba(28,20,24,.035)!important;overflow:visible}
.simple-content .checkout-heading{display:flex!important;align-items:center!important;gap:12px!important;background:#fff!important;border-bottom:1px solid #f2eff0!important;padding:13px 17px!important;font-size:16px!important;font-weight:700!important;color:var(--mg-ink)!important}
.simple-content .checkout-heading:before{display:none!important;content:none!important}
.simple-content .checkout-heading:after{display:none!important}
.simple-content .checkout-heading .mg-art{width:56px;height:56px;object-fit:contain;flex:none;order:-1;border-radius:7px}
.simple-content .simplecheckout-block-content{padding:17px!important}
.simple-content input[type=text],.simple-content input[type=email],.simple-content input[type=tel],.simple-content select,.simple-content textarea{border:1px solid #ded9dc!important;border-radius:8px!important;min-height:42px;box-shadow:none!important}
.simple-content input:focus,.simple-content select:focus,.simple-content textarea:focus{outline:none!important;border-color:#b51b32!important;box-shadow:0 0 0 3px rgba(181,27,50,.09)!important}
.simple-content .cart_items .item{padding:13px 0!important;border-bottom:1px solid #f0edef!important;display:flex;gap:10px;align-items:flex-start}
.simple-content .cart_items .item .image{flex:0 0 49px;max-width:49px}
.simple-content .cart_items .item .image img{max-width:49px;height:auto;object-fit:contain}
.simple-content .cart_items .item .caption{flex:1;min-width:0;overflow-wrap:anywhere}
.simple-content .cart_items .item .name{line-height:1.45}
.simple-content .cart_items .item .price_quantity{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.simple-content .simplecheckout-button-block#buttons{clear:both!important;display:block!important;width:100%!important;margin:22px 0 12px!important;padding:22px!important;border:1px solid var(--mg-line)!important;border-radius:13px!important;background:#fff!important;box-sizing:border-box}
.simple-content #simplecheckout_button_confirm{background:#b51b32!important;color:#fff!important;border-radius:10px!important;padding:13px 25px!important;font-weight:700!important;box-shadow:none!important}
.simple-content #simplecheckout_button_confirm:hover{background:#92152a!important}



.simple-content .mg-hidden-promo{display:none!important}


@media(max-width:767px){.simple-content .checkout-heading{font-size:15px!important;padding:11px!important}.simple-content .checkout-heading .mg-art{width:44px;height:44px}.simple-content .simplecheckout-block-content{padding:13px!important}.simple-content .simplecheckout-button-block#buttons{padding:15px!important}.simple-content #simplecheckout_button_confirm{display:block!important;text-align:center!important;width:100%!important;box-sizing:border-box}}

/* v5.1 visual only: never move checkout sections or change their widths */

.simple-content .mg-channel-art{width:36px;height:36px;object-fit:contain;vertical-align:middle;margin-right:8px;display:inline-block}
.simple-content .checkout-heading .mg-art{object-fit:contain;border-radius:0;background:transparent}
.simple-content .simplecheckout-block-content label{line-height:1.5}
.simple-content .simplecheckout-block-content input[type=checkbox],.simple-content .simplecheckout-block-content input[type=radio]{accent-color:#b51b32}
.simple-content .simplecheckout-block{transition:box-shadow .18s ease}
.simple-content .simplecheckout-block:focus-within{box-shadow:0 5px 22px rgba(65,28,38,.09)!important}
@media(max-width:767px){.simple-content .mg-channel-art{width:30px;height:30px}}

/* v5.2 channel graphics beside choices */
.simple-content .mg-channel-art{width:42px!important;height:42px!important;object-fit:contain!important;display:inline-block!important;vertical-align:middle!important;margin:0 9px 0 5px!important}
.simple-content .checkout-heading .fa,.simple-content .checkout-heading .glyphicon{display:none!important}
@media(max-width:767px){.simple-content .mg-channel-art{width:34px!important;height:34px!important}}

/* v5.7 remove redundant native heading icon, keep custom illustration */
.simple-content .checkout-heading .mg-legacy-icon-hidden{display:none!important}

/* v5.8: Speedy creates native black round heading icons with CSS pseudo-elements.
   Suppress only when custom MG artwork is present; preserve actual headings and controls. */
.simple-content .simplecheckout-block .checkout-heading:has(> img.mg-art) > span:first-of-type::before,
.simple-content .simplecheckout-block .checkout-heading:has(> img.mg-art) > span:first-of-type::after {
  content:none!important;display:none!important;mask:none!important;-webkit-mask:none!important;
  background:none!important;width:0!important;height:0!important;margin:0!important;
}

/* v5.9: legible, non-squashed contact choices on mobile */
.simple-content .mg-channel-art{width:54px!important;height:54px!important;min-width:54px!important;flex:0 0 54px!important;object-fit:contain!important;margin:0 10px 0 4px!important}
.simple-content [data-mg-channel-art] .mg-channel-name{font-weight:700!important;color:#241c1d!important}
.simple-content [data-mg-channel-art]{min-width:0;line-height:1.5!important}
.simple-content input[type=checkbox],.simple-content input[type=radio]{flex-shrink:0!important;min-width:20px!important;min-height:20px!important;accent-color:#b51b32!important}
.simple-content input[type=checkbox]:not(:checked),.simple-content input[type=radio]:not(:checked){opacity:1!important}
.simple-content .mg-payment-art{width:54px!important;height:54px!important;min-width:54px!important;object-fit:contain!important;vertical-align:middle!important;margin:0 10px 0 4px!important}
.simple-content .mg-payment-hint{display:flex;align-items:center;gap:12px;padding:12px;margin:10px 0;background:#fff8f9;border-left:3px solid #b51b32;border-radius:7px;line-height:1.45;color:#34282b}
.simple-content .mg-payment-hint img{width:58px;height:58px;object-fit:contain;flex:0 0 58px}
@media(max-width:767px){
.simple-content .mg-channel-art{width:48px!important;height:48px!important;min-width:48px!important;flex-basis:48px!important;margin:0 8px 0 3px!important}
.simple-content [data-mg-channel-art] input[type=checkbox],.simple-content [data-mg-channel-art] input[type=radio]{width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;flex:0 0 23px!important;margin-right:6px!important;transform:none!important}
.simple-content [data-mg-channel-art] label,.simple-content [data-mg-channel-art] span{overflow-wrap:break-word}

}

/* v6.0: Speedy uses .dc_label as the visible checkbox/radio square. */
.simple-content .simplecheckout-block-content .dc_label {
 width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
 flex:0 0 24px!important;box-sizing:border-box!important;border:2px solid #757575!important;
 border-radius:7px!important;background:#fff!important;opacity:1!important;
 margin:0 11px 0 0!important;align-self:flex-start!important;position:relative!important;
}
.simple-content .simplecheckout-block-content input:checked + .dc_label {
 border-color:#bf172b!important;background:#fff!important;
}
.simple-content .simplecheckout-block-content input:checked + .dc_label::after {
 background-color:#bf172b!important;
}
.simple-content .simplecheckout-block-content .radio,.simple-content .simplecheckout-block-content .checkbox {
 align-items:flex-start!important;min-width:0!important;
}
.simple-content .simplecheckout-block-content .radio > input[type=radio],
.simple-content .simplecheckout-block-content .checkbox > input[type=checkbox] {
 flex:0 0 auto!important;
}
.simple-content [data-mg-channel-art] {min-width:0!important;}
.simple-content .mg-shipping-payment-notice {display:flex;align-items:center;gap:12px;
 margin:10px 0 14px 35px;padding:11px 13px;border-left:3px solid #c22538;
 border-radius:5px;background:#fff8f8;line-height:1.5;color:#292329;font-size:14px;}
.simple-content .mg-shipping-payment-notice img {width:52px;height:52px;min-width:52px;flex:0 0 52px;object-fit:contain;}
.simple-content .mg-shipping-payment-notice strong {font-weight:700;}
@media(max-width:767px){
 .simple-content .simplecheckout-block-content .dc_label {width:25px!important;height:25px!important;min-width:25px!important;flex:0 0 25px!important;}
 .simple-content .mg-shipping-payment-notice {margin-left:0!important;padding:10px!important;gap:9px;font-size:13px;}
 .simple-content .mg-shipping-payment-notice img {width:46px;height:46px;min-width:46px;flex-basis:46px;}
}

/* v6.2: atomic channel text and illustration; never split Viber on narrow screens */
.simple-content .mg-channel-content{display:inline-flex!important;align-items:center!important;vertical-align:middle!important;gap:10px!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.simple-content .mg-channel-content .mg-channel-art{display:block!important;width:54px!important;height:54px!important;min-width:54px!important;flex:0 0 54px!important;object-fit:contain!important;margin:0!important}
.simple-content .mg-channel-copy{display:block!important;min-width:0!important;flex:1 1 auto!important;overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important;line-height:1.45!important}
.simple-content .mg-channel-copy .mg-channel-name{font-weight:700!important;white-space:nowrap!important;display:inline!important;word-break:keep-all!important}
@media(max-width:767px){.simple-content .mg-channel-content{gap:9px!important;align-items:flex-start!important}.simple-content .mg-channel-content .mg-channel-art{width:48px!important;height:48px!important;min-width:48px!important;flex-basis:48px!important}}

/* v6.4: restore existing documents illustration in checkout heading */




/* Ukrposhta address delivery: compact house and flat fields. */
.mg-ukr-address-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 14px}.mg-ukr-address-part label{display:block;font-weight:600;margin-bottom:5px}.mg-ukr-address-part input{width:100%;min-width:0}@media(max-width:420px){.mg-ukr-address-parts{gap:8px}}

/* v2.2 — Checkout only: remove store-benefits module without touching forms.
   Do not hide shipping/payment notices, discounts, or Telegram linking. */
body:has(#simplecheckout_form) .advantage,
body:has(#simplecheckout_form) .advantage_items,
body:has(#simplecheckout_form) #speedy-benefits,
body:has(#simplecheckout_form) .mg-speedy-benefits,
body:has(#simplecheckout_form) .mg-checkout-benefits {display:none!important;}
/* More breathing room, without altering the responsive layout or field widths. */
@media (min-width:768px){.simple-content .simplecheckout-block{margin-bottom:20px!important}}
@media (max-width:767px){.simple-content .simplecheckout-block{margin-bottom:14px!important}}


/* v2.3 — visual-only checkout refinement. No form controls are moved or replaced. */
.simple-content {
  --mg-red:#c91628;
  --mg-line:#eae5e7;
  --mg-ink:#242024;
}
.simple-content .simplecheckout-block {
  border:1px solid #ebe7e8!important;
  border-radius:16px!important;
  box-shadow:0 3px 18px rgba(38,23,28,.045)!important;
  margin-bottom:18px!important;
}
.simple-content .checkout-heading {
  border-bottom:0!important;
  border-radius:16px 16px 0 0!important;
  padding:17px 21px 9px!important;
  font-size:18px!important;
  line-height:1.35!important;
  gap:13px!important;
}
.simple-content .checkout-heading .mg-art {
  width:54px!important;
  height:54px!important;
  object-fit:contain!important;
}
.simple-content .simplecheckout-block-content {padding:15px 22px 22px!important}
.simple-content .simplecheckout-block-content label {
  color:#302a2c!important;
  line-height:1.45!important;
}
.simple-content input[type=text],
.simple-content input[type=email],
.simple-content input[type=tel],
.simple-content input[type=password],
.simple-content select,
.simple-content textarea {
  border-radius:10px!important;
  min-height:46px!important;
  background-color:#fff!important;
  font-size:15px!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.simple-content input[type=checkbox],
.simple-content input[type=radio] {
  accent-color:#c91628!important;
}
.simple-content .mg-channel-art,
.simple-content .mg-payment-art {
  object-fit:contain!important;
  vertical-align:middle!important;
}
.simple-content #simplecheckout_button_confirm {
  background:#d51020!important;
  border-radius:12px!important;
  min-height:50px!important;
  font-size:17px!important;
  font-weight:700!important;
  box-shadow:0 6px 17px rgba(197,20,35,.16)!important;
}
.simple-content #simplecheckout_button_confirm:hover {background:#b70d1d!important}
.simple-content .simplecheckout-button-block#buttons {
  padding:16px!important;
  border-radius:16px!important;
}
@media(max-width:767px) {
  .simple-content,
  .simple-content .simplecheckout-block,
  .simple-content .simplecheckout-block-content {max-width:100%!important;box-sizing:border-box!important}
  .simple-content .simplecheckout-block {margin-bottom:12px!important;border-radius:13px!important}
  .simple-content .checkout-heading {padding:12px 13px 7px!important;font-size:16px!important;gap:9px!important}
  .simple-content .checkout-heading .mg-art {width:40px!important;height:40px!important}
  .simple-content .simplecheckout-block-content {padding:10px 13px 15px!important}
  .simple-content input[type=text],
  .simple-content input[type=email],
  .simple-content input[type=tel],
  .simple-content input[type=password],
  .simple-content select,
  .simple-content textarea {font-size:16px!important;min-height:44px!important}
  .simple-content .mg-channel-art,
  .simple-content .mg-payment-art {max-width:40px!important;max-height:40px!important}
  .simple-content .simplecheckout-button-block#buttons {padding:12px!important;margin-top:14px!important}
  .simple-content #simplecheckout_button_confirm {width:100%!important;white-space:normal!important}
}
@media(prefers-reduced-motion:reduce) {
  .simple-content .simplecheckout-block {transition:none!important}
}


/* MG v2.4: finishing pass — presentation only; preserve native SimpleCheckout form logic. */
.simple-content {
  color:#27242a;
  -webkit-text-size-adjust:100%;
}
.simple-content .simplecheckout-block {
  background:#fff!important;
  border-color:#ece8e9!important;
  border-radius:17px!important;
  box-shadow:0 5px 22px rgba(45,25,35,.045)!important;
}
.simple-content .checkout-heading {
  color:#242129!important;
  letter-spacing:-.015em;
  font-weight:700!important;
  min-height:64px;
}
.simple-content .checkout-heading .mg-art {
  width:52px!important;
  height:52px!important;
  flex-shrink:0;
  filter:drop-shadow(0 2px 2px rgba(30,20,30,.05));
}
.simple-content .simplecheckout-block-content {
  line-height:1.5;
}
.simple-content .simplecheckout-block-content .form-group {
  margin-bottom:15px;
}
.simple-content .simplecheckout-block-content label {
  font-size:14px;
}
.simple-content input[type="text"],
.simple-content input[type="email"],
.simple-content input[type="tel"],
.simple-content input[type="password"],
.simple-content select,
.simple-content textarea {
  width:auto;
  border:1px solid #ddd9dc!important;
  border-radius:11px!important;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.simple-content input[type="text"]:focus,
.simple-content input[type="email"]:focus,
.simple-content input[type="tel"]:focus,
.simple-content input[type="password"]:focus,
.simple-content select:focus,
.simple-content textarea:focus {
  border-color:#c91b2e!important;
  box-shadow:0 0 0 3px rgba(201,27,46,.10)!important;
}

.simple-content .simplecheckout-button-block#buttons {
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.simple-content #simplecheckout_button_confirm {
  background:#d21425!important;
  border:1px solid #c81122!important;
  border-radius:12px!important;
  min-height:52px!important;
  padding:13px 26px!important;
  font-weight:700!important;
  line-height:1.3!important;
  box-shadow:0 6px 15px rgba(210,20,37,.15)!important;
}
.simple-content #simplecheckout_button_confirm:focus-visible {
  outline:3px solid rgba(210,20,37,.3)!important;
  outline-offset:3px;
}
@media (max-width:767px) {
  .simple-content {min-width:0!important;max-width:100%!important}
  .simple-content .simplecheckout-block {
    max-width:100%!important;
    border-radius:13px!important;
    margin-bottom:12px!important;
  }
  .simple-content .checkout-heading {
    min-height:52px;
    padding:10px 12px!important;
    gap:9px!important;
    font-size:16px!important;
  }
  .simple-content .checkout-heading .mg-art {
    width:39px!important;
    height:39px!important;
  }
  .simple-content .simplecheckout-block-content {
    padding:12px!important;
    min-width:0!important;
  }
  .simple-content .simplecheckout-block-content .form-group {margin-bottom:13px}
  .simple-content input[type="text"],
  .simple-content input[type="email"],
  .simple-content input[type="tel"],
  .simple-content input[type="password"],
  .simple-content select,
  .simple-content textarea {
    max-width:100%!important;
    box-sizing:border-box!important;
    font-size:16px!important;
    min-height:44px!important;
  }
  
  .simple-content #simplecheckout_button_confirm {
    width:100%!important;
    white-space:normal!important;
    min-height:52px!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  .simple-content input,
  .simple-content select,
  .simple-content textarea {transition:none!important}
}


/* v2.8 visual-only refinement. Do not alter SimpleCheckout field behavior. */
.simple-content .simplecheckout-block { background:#fff!important; border:1px solid #ece8eb!important; border-radius:16px!important; box-shadow:0 4px 20px rgba(38,27,38,.045)!important; margin-bottom:16px!important; }
.simple-content .checkout-heading { font-weight:650!important; color:#28262d!important; line-height:1.35!important; padding:15px 18px!important; }
.simple-content .simplecheckout-block-content { padding:13px 18px 19px!important; }
.simple-content .checkout-heading .mg-art {width:48px!important;height:48px!important;object-fit:contain!important}
.simple-content input[type="text"]:focus,.simple-content input[type="email"]:focus,.simple-content input[type="tel"]:focus,.simple-content select:focus,.simple-content textarea:focus {border-color:#bd5160!important;box-shadow:0 0 0 3px rgba(189,81,96,.10)!important}
.simple-content #simplecheckout_button_confirm {border-radius:12px!important;min-height:50px!important;box-shadow:0 5px 16px rgba(190,28,45,.14)!important}
@media(max-width:767px){
.simple-content .simplecheckout-block {margin-bottom:12px!important;border-radius:12px!important;max-width:100%!important;box-sizing:border-box!important}
.simple-content .checkout-heading {padding:12px!important;font-size:16px!important}
.simple-content .checkout-heading .mg-art {width:38px!important;height:38px!important}
.simple-content .simplecheckout-block-content {padding:12px!important}
.simple-content input[type="text"],.simple-content input[type="email"],.simple-content input[type="tel"],.simple-content select,.simple-content textarea {max-width:100%!important;box-sizing:border-box!important;font-size:16px!important}
.simple-content #simplecheckout_button_confirm {width:100%!important;white-space:normal!important}
}

/* v3.4: compact native account fields, no new inputs or duplicate recipient block */
.simple-content #simplecheckout_customer .simplecheckout-block-content{max-width:100%!important;padding:12px 18px 16px!important}
.simple-content #simplecheckout_customer .form-group{margin:0 0 10px!important;max-width:540px!important}
.simple-content #simplecheckout_customer input[type=text],.simple-content #simplecheckout_customer input[type=email],.simple-content #simplecheckout_customer input[type=tel]{width:100%!important;max-width:540px!important;min-width:0!important;box-sizing:border-box!important}
.simple-content #simplecheckout_customer .mg-channel-art{width:24px!important;height:24px!important;min-width:24px!important;flex:0 0 24px!important;margin:0!important}
.simple-content #simplecheckout_customer .mg-channel-content{gap:8px!important;align-items:center!important}
.simple-content #simplecheckout_customer [data-mg-channel-art]{margin:5px 0!important}
.simple-content #simplecheckout_customer .checkout-heading .mg-art{width:28px!important;height:28px!important}
@media(max-width:767px){.simple-content #simplecheckout_customer .form-group,.simple-content #simplecheckout_customer input[type=text],.simple-content #simplecheckout_customer input[type=email],.simple-content #simplecheckout_customer input[type=tel]{max-width:100%!important}}

/* v3.5: informative 3% login offer; native discount rules untouched */
.simple-content .mg-auth-offer{max-width:540px;box-sizing:border-box;border:1px solid #e6e6e6;border-radius:10px;padding:12px 14px;margin:10px 0 16px;background:#fafafa;font-size:13px}
.simple-content .mg-auth-offer p{margin:5px 0 10px;line-height:1.4}
.simple-content .mg-auth-actions{display:flex;gap:8px;flex-wrap:wrap}
.simple-content .mg-auth-actions button{border:1px solid #c7c7c7;border-radius:7px;background:white;padding:8px 13px;cursor:pointer;color:#222}
.simple-content .mg-auth-actions .mg-auth-login{background:#a80f19;color:white;border-color:#a80f19}

/* v3.8 accessible compact login/register/forgot dialogs */
.mg-auth-overlay{position:fixed;z-index:999999;inset:0;background:rgba(0,0,0,.48);display:flex;align-items:center;justify-content:center;padding:14px;box-sizing:border-box}
.mg-auth-panel{position:relative;background:#fff;color:#222;border-radius:12px;width:100%;max-width:410px;max-height:90vh;overflow:auto;padding:24px;box-sizing:border-box;box-shadow:0 12px 40px rgba(0,0,0,.2);font:inherit}
.mg-auth-panel h3{font-size:20px;margin:0 30px 18px 0}.mg-auth-close{position:absolute;right:12px;top:10px;background:transparent;border:0;font-size:28px;cursor:pointer}
.mg-auth-panel label{display:block;font-weight:600;margin:0 0 12px}.mg-auth-panel input{display:block;width:100%;box-sizing:border-box;min-height:44px;font-size:16px;padding:9px 11px;border:1px solid #bbb;border-radius:7px;margin-top:5px}
.mg-auth-submit{display:block;width:100%;background:#a80f19;border:0;border-radius:7px;color:white;min-height:44px;cursor:pointer;font-size:16px}
.mg-auth-submit:disabled{opacity:.6}.mg-auth-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:14px}.mg-auth-links button{border:0;background:transparent;color:#a80f19;cursor:pointer;padding:5px 0;text-decoration:underline}
.mg-auth-message{color:#a80f19;margin:6px 0;font-size:13px;line-height:1.4}


/* v4.2: compact, accessible, device-safe visual cleanup */
.simple-content #simplecheckout_customer [data-mg-channel-art] {display:flex!important;align-items:flex-start!important;gap:8px!important;min-width:0!important}
.simple-content #simplecheckout_customer [data-mg-channel-art] > input[type=checkbox],
.simple-content #simplecheckout_customer [data-mg-channel-art] > input[type=radio],
.simple-content #simplecheckout_customer [data-mg-channel-art] > .dc_label {flex:0 0 21px!important;margin:0!important}
.simple-content #simplecheckout_customer .mg-channel-content {display:inline-flex!important;align-items:flex-start!important;gap:7px!important;flex:1 1 auto!important;min-width:0!important;vertical-align:top!important}
.simple-content #simplecheckout_customer .mg-channel-content .mg-channel-art {display:block!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;flex:0 0 20px!important;margin:1px 0 0!important;object-fit:contain!important}
.simple-content #simplecheckout_customer .mg-channel-copy {min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.45!important}

.simple-content .mg-shipping-payment-notice {display:block!important;margin:8px 0 12px 30px!important;padding:10px 12px!important;font-size:14px!important;line-height:1.55!important}
.simple-content .mg-shipping-payment-notice img,.simple-content .mg-payment-hint img,.simple-content .mg-payment-art {display:none!important}


.simple-content #simplecheckout_shipping_address input[type=text],
.simple-content #simplecheckout_shipping_address input[type=search],
.simple-content #simplecheckout_shipping_address select,
.simple-content #simplecheckout_payment_address input[type=text],
.simple-content .mg-ukr-address-part input {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:visible!important;font-size:16px!important;min-height:43px!important;padding:9px 11px!important;text-overflow:ellipsis!important}
.simple-content #simplecheckout_shipping_address .form-group,
.simple-content #simplecheckout_shipping_address .input-group,
.simple-content #simplecheckout_shipping_address .simplecheckout-shipping-address-field,
.simple-content #simplecheckout_shipping_address .col-sm-6,
.simple-content #simplecheckout_shipping_address .col-sm-12 {min-width:0!important;max-width:100%!important}
.simple-content #simplecheckout_shipping_address input::placeholder {font-size:13px!important;opacity:.8!important}
@media(max-width:767px){
 .simple-content .mg-shipping-payment-notice{margin-left:0!important;font-size:13px!important}
 .simple-content #simplecheckout_customer .mg-channel-content .mg-channel-art{width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important}
 .simple-content #simplecheckout_shipping_address input::placeholder{font-size:12px!important}
}

/* Official delivery service wordmarks, compact and proportional */



/* Local compact service marks: no external requests */



/* v4.6: one local carrier mark per carrier heading, no old decorative artwork */



/* Documents heading follows the native black-circle/white-symbol heading style */


/* Match checkout square controls, including Speedy's .dc_label */







/* v4.7: target the real document block regardless of its position in the page */







/* Use the user's actual locally bundled service marks, never decorative icons or remote URLs */



/* All address fields use the available column width, including older mobile browsers */
.simple-content #simplecheckout_shipping_address input,.simple-content #simplecheckout_shipping_address select{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.simple-content #simplecheckout_shipping_address input::placeholder{font-size:14px!important;text-overflow:clip!important}



/* v4.9: documents use the same heading structure and controls as checkout */










/* v5.1: no Speedy-generated second heading icon; match delivery/payment controls */









/* v5.2: native Speedy styling: do not draw another icon on documents. */


/* Match the existing dark circular header style, not a guessed black shade. */


/* Only one local logo, not repeated pseudo-elements or images. */



/* Document checkboxes use the same dimensions, border and tick as native checkout radio controls. */




/* v5.3: native document controls inherit computed payment styles from JS. */




/* v5.5: documents use native SimpleCheckout radio markup and dc_label */
#mg-documents-checkout{padding:0!important;overflow:hidden}
#mg-documents-checkout>.checkout-heading{margin:0!important}
#mg-documents-checkout>.mg-doc-radio{margin:8px 14px!important;display:flex!important;align-items:center!important;min-height:25px!important}
#mg-documents-checkout>.mg-doc-radio>input[type=checkbox]{margin:0!important}
#mg-documents-checkout>.mg-doc-radio>label.dc_label{margin:0 9px 0 0!important;flex-shrink:0}
#mg-documents-checkout>.mg-doc-radio>span{line-height:1.45}
#mg-documents-checkout>p.help-block{margin:9px 14px!important}
#mg-documents-checkout>#mg-documents-fields{padding:0 14px 14px}
#simplecheckout_shipping .shipping_method_title{display:flex!important;align-items:center!important;gap:7px!important}
#simplecheckout_shipping .shipping_method_title>img.mg-carrier-art{
 width:32px!important;height:32px!important;max-width:32px!important;
 object-fit:contain!important;flex:0 0 32px!important;margin:0!important;
}
\n/* User-supplied original carrier logos: natural 28px size */\n#simplecheckout_shipping .shipping_method_title>img.mg-carrier-art{width:28px!important;height:28px!important;max-width:28px!important;flex:0 0 28px!important;object-fit:contain!important;}\n
/* v5.9: use existing buyer form and SimpleCheckout validation, no duplicate inputs */
#simplecheckout_customer .mg-buyer-native-name{display:block!important}
#simplecheckout_payment .mg-payment-preference-note{
 margin:12px 0 0!important;padding:9px 12px!important;
 border-left:3px solid var(--main_color,#de2020)!important;
 background:#fff8f8!important;line-height:1.5!important;
}

/* v6.2 payment descriptions always visible under their respective option */
#simplecheckout_payment .mg-payment-inline-note{display:block!important;flex-basis:100%!important;width:100%!important;margin:5px 0 10px 30px!important;line-height:1.45!important;font-size:13px!important;color:inherit!important;}
#simplecheckout_payment .mg-payment-preference-note{display:none!important;}

/* v6.3: each payment explanation is a full-width line beneath its choice. */
#simplecheckout_payment .mg-payment-inline-note{display:block!important;clear:both!important;position:static!important;flex:none!important;flex-basis:auto!important;width:auto!important;max-width:100%!important;margin:3px 0 11px 30px!important;white-space:normal!important;line-height:1.5!important;}
#simplecheckout_payment tr.mg-payment-note-row>td{padding:0 8px 7px!important;text-align:left!important;}
#simplecheckout_payment tr.mg-payment-note-row .mg-payment-inline-note{margin:0 0 6px 30px!important;}


/* v6.4 — document controls: visible border matching payment choices.
   Limit rules to the three document checkboxes; preserve all checkout logic. */
#mg-documents-checkout .mg-doc-radio > input[type="checkbox"] {
 -webkit-appearance:none!important;appearance:none!important;
 display:inline-block!important;visibility:visible!important;opacity:1!important;
 box-sizing:border-box!important;width:21px!important;height:21px!important;
 min-width:21px!important;min-height:21px!important;flex:0 0 21px!important;
 border:1px solid #858585!important;border-radius:6px!important;
 background:#fff!important;position:relative!important;
 margin:0 9px 0 0!important;cursor:pointer!important;
}
#mg-documents-checkout .mg-doc-radio > input[type="checkbox"]:checked {
 border-color:#f01825!important;
}
#mg-documents-checkout .mg-doc-radio > input[type="checkbox"]:checked::after {
 content:"✓"!important;display:block!important;position:absolute!important;
 left:4px!important;top:-4px!important;font-size:19px!important;
 line-height:24px!important;font-weight:600!important;color:#f01825!important;
}
#mg-documents-checkout .mg-doc-radio > label.dc_label {
 display:none!important;
}

/* v6.5 visible address field captions */
#simplecheckout_shipping_address .mg-address-caption{display:block!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;margin:0 0 6px!important;color:inherit!important;}

/* v7.7: restore the native SimpleCheckout communication-method question.
   Presentation only: no DOM moves, disabled changes, or checkout handlers. */
.simple-content #simplecheckout_customer .row-customer_communication_method > label.control-label,
#simplecheckout_customer .row-customer_communication_method > label.control-label {
  display:block!important; visibility:visible!important; opacity:1!important;
  position:static!important; float:none!important; clear:both!important;
  width:100%!important; max-width:100%!important; height:auto!important;
  margin:0 0 12px!important; padding:0!important;
  font-size:15px!important; font-weight:600!important; line-height:1.45!important;
  color:#262626!important; text-align:left!important; white-space:normal!important;
}
.simple-content #simplecheckout_customer .row-customer_communication_method > .col-sm-8,
#simplecheckout_customer .row-customer_communication_method > .col-sm-8 {
  float:none!important; width:100%!important; max-width:100%!important;
  padding-left:0!important; padding-right:0!important;
}
