#simplecheckout_payment .sc-payment-panel { border: 1px solid #c9c3c9; border-radius: 9px; margin: 12px 0; overflow: hidden; }
.sc-final-summary-source[hidden] { display: none !important; }
.simplecheckout .sc-final-confirm-column { float: none !important; width: 100% !important; text-align: left; }
.sc-final-live { clear: both; width: 100%; margin: 16px 0 14px; }
.sc-final-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; background: #f0f5fa; border-radius: 9px; padding: 11px 13px; color: #284c70; font-size: 12px; margin-bottom: 14px; }
.sc-final-messengers { display: flex; flex-wrap: wrap; gap: 7px; }
.sc-final-messengers a.sc-final-msg { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 10px; border-radius: 20px; color: #fff !important; text-decoration: none !important; line-height: 1.4; font-size: 11px; font-weight: 600; }
.sc-final-short-label { display: none; }
.sc-final-msg svg { flex: 0 0 12px; }
.sc-final-tg { background: #0878a5; }
.sc-final-wa { background: #168644; }
.sc-final-vk { background: #2869df; }
.sc-final-max { background: #7b3ee6; }
.sc-final-messengers a:focus-visible { outline: 2px solid #12304b; outline-offset: 3px; }
.sc-final-summary { box-sizing: border-box; width: 100%; border: 1px solid #a9c5df; border-radius: 11px; background: #f5f9fd; padding: 14px 16px; color: #163c60; }
.sc-final-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 18px; margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.sc-final-row > :first-child { flex-shrink: 0; }
.sc-final-row > :last-child { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.sc-final-point { margin: -2px 0 12px; color: #56738f; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.sc-final-total { border-top: 1px solid #c4d7e8; padding-top: 12px; margin: 10px 0 0; font-size: 19px; font-weight: 700; }
.simplecheckout .sc-final-confirm-column #simplecheckout_button_confirm { display: block; box-sizing: border-box; width: 100%; min-height: 44px; padding: 12px 16px; text-align: center; border-radius: 9px; }
@media (max-width: 767px) {
 .sc-final-contact { align-items: flex-start; padding: 12px; }
 .sc-final-contact > span { flex-basis: 100%; }
 .sc-final-messengers { width: 100%; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
 .sc-final-messengers a.sc-final-msg { min-height: 34px; padding: 6px 8px; }
 .sc-final-full-label { display: none; }
 .sc-final-short-label { display: inline; }
 .sc-final-summary { padding: 13px 12px; }
 .sc-final-row { gap: 8px 12px; font-size: 13px; }
 .sc-final-row > :first-child { flex-shrink: 1; }
 .sc-final-total { font-size: 17px; }
}
#simplecheckout_payment .sc-payment-group + .sc-payment-group { border-top: 1px solid #c9c3c9; }
#simplecheckout_payment .sc-payment-group { --sc-payment-border: #c5b9ce; --sc-payment-bg: #f7f5f9; --sc-payment-head: #e8e2ee; --sc-payment-accent: #75617f; border: 0; border-radius: 0; background: var(--sc-payment-bg); margin: 0; overflow: hidden; }
#simplecheckout_payment .sc-payment-cod { --sc-payment-border: #cfc1b4; --sc-payment-bg: #faf7f3; --sc-payment-head: #eae2d9; --sc-payment-accent: #806c59; }
#simplecheckout_payment .sc-payment-heading { margin: 0; padding: 11px 14px; background: var(--sc-payment-head); color: #34323a; font-size: 14px; font-weight: 600; line-height: 1.5; }
#simplecheckout_payment .sc-payment-group > .radio { position: relative; margin: 0 !important; padding: 12px 14px; border-top: 1px solid var(--sc-payment-border); }
#simplecheckout_payment .sc-payment-heading + .radio { border-top: 0; }
#simplecheckout_payment .sc-payment-group > .radio > label { display: block; position: relative; padding-left: 24px; width: 100%; float: none; margin: 0; color: #34323a; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
#simplecheckout_payment .sc-payment-group input[type=radio] { position: absolute; left: 0; top: 4px; margin: 0; accent-color: var(--sc-payment-accent); }
#simplecheckout_payment .sc-payment-selected { box-shadow: inset 3px 0 0 var(--sc-payment-accent); }
#simplecheckout_payment .sc-payment-group > .form-group { padding: 0 14px 12px 38px; margin: 0; }
#simplecheckout_payment .sc-payment-group > .form-group > label { width: auto; float: none; }
@media (max-width: 767px) {
 /* iOS Safari auto-zooms small text fields. Keep their rendered font at 16px without disabling pinch zoom. */
 .simplecheckout input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=button]):not([type=submit]),
 .simplecheckout select, .simplecheckout textarea,
 [id^=simplecheckout_] input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=button]):not([type=submit]),
 [id^=simplecheckout_] select, [id^=simplecheckout_] textarea,
 .sc-pickup-dialog input, .sc-pickup-dialog select { font-size: 16px !important; }
 #simplecheckout_cart, #simplecheckout_cart .table-responsive { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
 #simplecheckout_cart .table-responsive { overflow: visible; border: 0; }
 #simplecheckout_cart table.simplecheckout-cart { display: block; width: 100% !important; min-width: 0 !important; max-width: 100%; table-layout: fixed; }
 #simplecheckout_cart .simplecheckout-cart colgroup, #simplecheckout_cart .simplecheckout-cart thead { display: none !important; }
 #simplecheckout_cart .simplecheckout-cart tbody { display: block; width: 100%; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 10px; border-bottom: 1px solid #dce1e5; padding: 12px 0; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td { min-width: 0 !important; width: auto !important; max-width: 100%; box-sizing: border-box; border: 0; padding: 6px; white-space: normal !important; overflow-wrap: anywhere; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.name { display: block !important; grid-column: 1 / -1; order: 0; }
 #simplecheckout_cart .simplecheckout-cart td.name .image { display: block !important; float: left; margin: 0 10px 6px 0; }
 #simplecheckout_cart .simplecheckout-cart td.name .image img { width: auto; max-width: 64px; max-height: 72px; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.image { display: none !important; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.model { grid-column: 1 / -1; order: 1; font-size: 12px; color: #66717d; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.quantity { display: block !important; grid-column: 1 / -1; order: 2; text-align: left; }
 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group { width: 100%; max-width: 200px !important; min-width: 0; margin: 0 !important; }
 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group input { min-width: 36px; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.price { display: block !important; grid-column: 1; order: 3; text-align: left !important; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.total { display: block !important; grid-column: 2; order: 4; text-align: right !important; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.remove { grid-column: 1 / -1; order: 5; }
 #simplecheckout_cart .simplecheckout-cart td.quantity::before, #simplecheckout_cart .simplecheckout-cart td.price::before, #simplecheckout_cart .simplecheckout-cart td.total::before { content: attr(data-sc-label); display: block; margin-bottom: 5px; font-size: 12px; font-weight: normal; color: #66717d; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.sc-cart-empty { display: none !important; }
 #simplecheckout_cart .simplecheckout-cart-total { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 8px; width: 100%; max-width: 100%; box-sizing: border-box; padding: 9px 6px; overflow-wrap: anywhere; }
 #simplecheckout_cart .simplecheckout-cart-total > span { min-width: 0; max-width: 100% !important; }
 #simplecheckout_cart .simplecheckout-cart-total > span:first-child { flex: 1; }
 #simplecheckout_cart .simplecheckout-cart-total > .inputs { display: flex; flex-wrap: wrap; flex-basis: 100%; align-items: center; justify-content: flex-end; gap: 6px; }
 #simplecheckout_cart .simplecheckout-cart-total .inputs input { min-width: 0; width: 100%; max-width: 180px; box-sizing: border-box; }
}

@media (max-width: 767px) {
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product { grid-template-columns: minmax(80px,1fr) minmax(0,1fr) minmax(0,1fr); gap: 8px 4px; padding: 14px 8px; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td { padding: 0 4px; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.name { margin-bottom: 4px; line-height: 1.5; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.name.sc-cart-with-thumb { display: grid !important; grid-template-columns: 56px minmax(0,1fr); column-gap: 12px; align-items: start; }
 #simplecheckout_cart .simplecheckout-cart td.name.sc-cart-with-thumb > :not(.image) { grid-column: 2; }
 #simplecheckout_cart .simplecheckout-cart td.name.sc-cart-with-thumb > .image { grid-column: 1; grid-row: 1 / span 6; float: none; width: 56px; margin: 0; }
 #simplecheckout_cart .simplecheckout-cart td.name .image img { width: 56px; height: 64px; max-height: 64px; object-fit: contain; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.quantity { grid-column: 1; grid-row: auto; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.price { grid-column: 2; text-align: right !important; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.total { grid-column: 3; text-align: right !important; font-weight: 600; }
 #simplecheckout_cart .simplecheckout-cart td.quantity::before, #simplecheckout_cart .simplecheckout-cart td.price::before, #simplecheckout_cart .simplecheckout-cart td.total::before { font-size: 11px; line-height: 16px; margin-bottom: 4px; }
 #simplecheckout_cart .simplecheckout-cart td.price > div, #simplecheckout_cart .simplecheckout-cart td.total { line-height: 32px; }
 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group { width: 100%; max-width: 96px !important; }
 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group input { min-width: 0; height: 32px; padding: 4px 6px; }
 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn > .btn { width: 28px; height: 32px; padding: 4px 0; }
 #simplecheckout_cart .simplecheckout-cart-total { padding: 10px 12px; gap: 6px 10px; text-align: left; }
 #simplecheckout_cart .simplecheckout-cart-total > span:first-child { text-align: left; }
 #simplecheckout_cart .simplecheckout-cart-total-value { text-align: right; }
 #simplecheckout_cart #total_total { background: #f3f5f7; font-weight: 700; }
 #simplecheckout_cart .simplecheckout-cart-total > .inputs { display: block; text-align: left; }
 #simplecheckout_cart .simplecheckout-cart-total .inputs input { display: block; margin-top: 6px; width: 100%; max-width: none; }
}

/* The action row is created around the original button, independent of theme wrappers. */
.sc-final-confirm-column { display: block !important; float: none !important; width: 100% !important; text-align: left; }
.sc-confirm-action-row { display: flex !important; flex-direction: row !important; justify-content: center !important; align-items: center !important; box-sizing: border-box; clear: both; width: 100% !important; }
.sc-confirm-action-row > #simplecheckout_button_confirm { display: inline-flex !important; justify-content: center; align-items: center; float: none !important; position: static !important; transform: none !important; margin: 0 !important; max-width: 100%; min-height: 44px; padding: 12px 16px; border-radius: 9px; box-sizing: border-box; }
@media (min-width: 768px) {
 .sc-confirm-action-row > #simplecheckout_button_confirm { width: auto !important; padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 767px) {
 .sc-confirm-action-row > #simplecheckout_button_confirm { width: 100% !important; }
}

/* Compact payment: the method's own radio label is the only visible heading. */
#simplecheckout_payment .sc-payment-group > .radio:first-child { border-top: 0; }
#simplecheckout_payment .sc-payment-details[hidden] { display: none !important; }
#simplecheckout_payment .sc-payment-details > .form-group { padding: 0 14px 12px 38px; margin: 0; }
#simplecheckout_payment .sc-payment-details > .form-group > label { width: auto; float: none; }
#simplecheckout_payment .sc-payment-details .yk-simple-choice { margin-top: 2px; margin-bottom: 10px; }

/* Match the final calculation card while keeping Simple's quantity/remove controls. */
#simplecheckout_cart.simplecheckout-block { box-sizing: border-box; min-width: 0; width: 100%; max-width: 100%; padding: 14px 16px; border: 1px solid #a9c5df; border-radius: 11px; background: #f5f9fd; color: #163c60; box-shadow: none !important; }
#simplecheckout_cart > .checkout-heading { margin: -14px -16px 12px; padding: 12px 16px; background: #eaf2fa; color: #163c60; border: 0; border-bottom: 1px solid #c4d7e8; border-radius: 10px 10px 0 0; }
#simplecheckout_cart .table-responsive { min-width: 0; max-width: 100%; margin: 0; border: 0; overflow: visible; }
#simplecheckout_cart table.simplecheckout-cart { display: block; width: 100% !important; max-width: 100%; min-width: 0 !important; margin: 0 0 8px; border: 0; background: transparent; }
#simplecheckout_cart .simplecheckout-cart colgroup, #simplecheckout_cart .simplecheckout-cart thead { display: none !important; }
#simplecheckout_cart .simplecheckout-cart tbody { display: block; width: 100%; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product { display: grid; grid-template-columns: minmax(96px,1.2fr) minmax(0,1fr) minmax(0,1fr); gap: 10px 8px; padding: 12px 0; border: 0; border-bottom: 1px solid #c4d7e8; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td { box-sizing: border-box; min-width: 0 !important; width: auto !important; max-width: 100%; padding: 0; border: 0; white-space: normal !important; overflow-wrap: anywhere; background: transparent; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.image, #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.sc-cart-empty { display: none !important; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.name { display: block !important; grid-column: 1 / -1; line-height: 1.5; font-size: 14px; margin: 0; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.name.sc-cart-with-thumb { display: grid !important; grid-template-columns: 72px minmax(0,1fr); gap: 0 14px; align-items: start; }
#simplecheckout_cart .simplecheckout-cart td.name.sc-cart-with-thumb > :not(.image) { grid-column: 2; }
#simplecheckout_cart .simplecheckout-cart td.name.sc-cart-with-thumb > .image { display: block !important; grid-column: 1; grid-row: 1 / span 6; float: none; width: 72px; margin: 0; }
#simplecheckout_cart .simplecheckout-cart td.name .image img { display: block; width: 72px; height: 84px; max-width: 72px; max-height: 84px; object-fit: contain; }
#simplecheckout_cart .simplecheckout-cart td.name > a { color: #163c60; text-decoration: none; }
#simplecheckout_cart .simplecheckout-cart td.name > a:hover { text-decoration: underline; }
#simplecheckout_cart .simplecheckout-cart td.name .options { display: block; color: #56738f; font-size: 12px; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.model { grid-column: 1 / -1; order: 1; font-size: 12px; color: #56738f; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.quantity { display: block !important; grid-column: 1; order: 2; text-align: left; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.price { display: block !important; grid-column: 2; order: 3; text-align: right !important; }
#simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.total { display: block !important; grid-column: 3; order: 4; text-align: right !important; font-weight: 600; }
#simplecheckout_cart .simplecheckout-cart td.quantity::before, #simplecheckout_cart .simplecheckout-cart td.price::before, #simplecheckout_cart .simplecheckout-cart td.total::before { content: attr(data-sc-label); display: block; color: #56738f; font-size: 11px; font-weight: 400; line-height: 16px; margin-bottom: 5px; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group { width: 100%; min-width: 0; max-width: 128px !important; margin: 0 !important; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group input { min-width: 0; height: 32px; padding: 4px; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn > .btn { display: inline-block; width: 28px; height: 32px; padding: 4px 0; }
#simplecheckout_cart .simplecheckout-cart td.price > div, #simplecheckout_cart .simplecheckout-cart td.total { line-height: 32px; font-size: 13px; }
#simplecheckout_cart .simplecheckout-cart-total { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; width: 100%; max-width: 100%; padding: 8px 0; border: 0; background: transparent; color: #163c60; font-size: 14px; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
#simplecheckout_cart .simplecheckout-cart-total::after { display: none; }
#simplecheckout_cart .simplecheckout-cart-total > span { float: none; min-width: 0; max-width: 100% !important; }
#simplecheckout_cart .simplecheckout-cart-total > span:first-child { flex: 1; text-align: left; }
#simplecheckout_cart .simplecheckout-cart-total-value { text-align: right; }
#simplecheckout_cart .simplecheckout-cart-total-remove:empty { display: none; }
#simplecheckout_cart #total_total { padding-top: 12px; margin-top: 6px; border-top: 1px solid #c4d7e8; background: transparent; font-size: 19px; font-weight: 700; }
#simplecheckout_cart #total_total b { font-weight: 700; }
#simplecheckout_cart .simplecheckout-cart-total > .inputs { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; text-align: left; font-size: 12px; }
#simplecheckout_cart .simplecheckout-cart-total .inputs input { margin: 0; width: 160px; min-width: 0; max-width: 100%; border-radius: 6px; }
#simplecheckout_cart .simplecheckout-cart-buttons .inputs { justify-content: flex-end; }
@media (max-width: 767px) {
 #simplecheckout_cart.simplecheckout-block { padding: 13px 12px; }
 #simplecheckout_cart > .checkout-heading { margin: -13px -12px 10px; padding: 11px 12px; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product { grid-template-columns: minmax(96px,1.2fr) minmax(0,1fr) minmax(0,1fr); gap: 8px 6px; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.name { font-size: 13px; }
 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group { max-width: 112px !important; }
 #simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn > .btn { width: 24px; }
 #simplecheckout_cart .simplecheckout-cart-total { font-size: 13px; }
 #simplecheckout_cart #total_total { font-size: 17px; }
}

/* Customer details use the same card palette and radius as cart/final totals. */
#simplecheckout_customer.simplecheckout-block { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; border: 1px solid #a9c5df; border-radius: 11px; background: #f5f9fd; color: #163c60; box-shadow: none; }
#simplecheckout_customer > .checkout-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0; padding: 12px 16px; border: 0; border-bottom: 1px solid #c4d7e8; border-radius: 10px 10px 0 0; background: #eaf2fa; color: #163c60; font-size: 14px; line-height: 1.5; }
#simplecheckout_customer > .checkout-heading > .checkout-heading-button { float: none; margin: 0; font-size: 12px; }
#simplecheckout_customer > .checkout-heading a { color: #284c70; }
#simplecheckout_customer > .checkout-heading a:hover { color: #0758a8; text-decoration: underline; }
#simplecheckout_customer .simplecheckout-block-content { box-sizing: border-box; min-width: 0; padding: 14px 16px 16px; text-align: left; }
#simplecheckout_customer .form-group { margin: 0 0 12px; }
#simplecheckout_customer .form-group:last-child { margin-bottom: 0; }
#simplecheckout_customer .form-group::after { content: ""; display: table; clear: both; }
#simplecheckout_customer .control-label { padding: 8px 12px 0 0; color: #163c60; font-size: 12px; font-weight: 400; line-height: 1.5; }
#simplecheckout_customer .form-group > .col-sm-8, #simplecheckout_customer .form-group > .col-sm-10 { min-width: 0; padding-left: 0; padding-right: 0; }
#simplecheckout_customer .form-control { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 36px; border: 1px solid #c4d7e8; border-radius: 6px; background: #fff; color: #163c60; box-shadow: none; }
#simplecheckout_customer .form-control:focus { border-color: #659ac9; outline: 0; box-shadow: 0 0 0 2px rgba(7,88,168,.12); }
#simplecheckout_customer .form-control:disabled, #simplecheckout_customer .form-control[readonly] { background: #edf3f8; }
#simplecheckout_customer .has-error .form-control { border-color: #a94442; }
#simplecheckout_customer .radio, #simplecheckout_customer .checkbox { color: #163c60; }
#simplecheckout_customer .help-block { color: #56738f; }
#simplecheckout_customer .has-error .help-block, #simplecheckout_customer .text-danger { color: #a94442; }
@media (max-width: 767px) {
 #simplecheckout_customer > .checkout-heading { padding: 11px 12px; }
 #simplecheckout_customer .simplecheckout-block-content { padding: 13px 12px; }
 #simplecheckout_customer .control-label { display: block; width: 100%; float: none; margin-bottom: 5px; padding: 0; text-align: left; }
 #simplecheckout_customer .form-group > .col-sm-8, #simplecheckout_customer .form-group > .col-sm-10 { float: none; width: 100%; }
}

/* The complete visible form, including address fields rendered outside customer. */
/* Customer details use the same card palette and radius as cart/final totals. */
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]).simplecheckout-block { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; border: 1px solid #a9c5df; border-radius: 11px; background: #f5f9fd; color: #163c60; box-shadow: none; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) > .checkout-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0; padding: 12px 16px; border: 0; border-bottom: 1px solid #c4d7e8; border-radius: 10px 10px 0 0; background: #eaf2fa; color: #163c60; font-size: 14px; line-height: 1.5; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) > .checkout-heading > .checkout-heading-button { float: none; margin: 0; font-size: 12px; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) > .checkout-heading a { color: #284c70; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) > .checkout-heading a:hover { color: #0758a8; text-decoration: underline; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .simplecheckout-block-content { box-sizing: border-box; min-width: 0; padding: 14px 16px 16px; text-align: left; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-group { margin: 0 0 12px; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-group:last-child { margin-bottom: 0; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-group::after { content: ""; display: table; clear: both; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .control-label { padding: 8px 12px 0 0; color: #163c60; font-size: 12px; font-weight: 400; line-height: 1.5; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-group > .col-sm-8, :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-group > .col-sm-10 { min-width: 0; padding-left: 0; padding-right: 0; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-control { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 36px; border: 1px solid #c4d7e8; border-radius: 6px; background: #fff; color: #163c60; box-shadow: none; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-control:focus { border-color: #659ac9; outline: 0; box-shadow: 0 0 0 2px rgba(7,88,168,.12); }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-control:disabled, :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-control[readonly] { background: #edf3f8; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .has-error .form-control { border-color: #a94442; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .radio, :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .checkbox { color: #163c60; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .help-block { color: #56738f; }
:is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .has-error .help-block, :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .text-danger { color: #a94442; }
@media (max-width: 767px) {
 :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) > .checkout-heading { padding: 11px 12px; }
 :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .simplecheckout-block-content { padding: 13px 12px; }
 :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .control-label { display: block; width: 100%; float: none; margin-bottom: 5px; padding: 0; text-align: left; }
 :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-group > .col-sm-8, :is(#simplecheckout_customer, #simplecheckout_shipping_address, #simplecheckout_payment_address, #simplecheckout_comment, #simplecheckout_payment, #simplecheckout_summary, #simplecheckout_login, #simplecheckout_text, .simplecheckout-block[id^="simplecheckout_custom"]) .form-group > .col-sm-10 { float: none; width: 100%; }
}

/* Adjacent address blocks visually continue the customer card; DOM/field IDs stay intact. */
:is(#simplecheckout_customer, #simplecheckout_payment_address, #simplecheckout_shipping_address):has(+ :is(#simplecheckout_payment_address, #simplecheckout_shipping_address)) { margin-bottom: 0; border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
:is(#simplecheckout_customer, #simplecheckout_payment_address, #simplecheckout_shipping_address) + :is(#simplecheckout_payment_address, #simplecheckout_shipping_address) { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
:is(#simplecheckout_customer, #simplecheckout_payment_address, #simplecheckout_shipping_address) + :is(#simplecheckout_payment_address, #simplecheckout_shipping_address):not(:has(> .checkout-heading)) > .simplecheckout-block-content { padding-top: 0; }

/* Payment uses the same blue palette; carrier cards are deliberately outside these selectors. */
#simplecheckout_payment .sc-payment-panel { border: 0; border-radius: 0; margin: 0; overflow: visible; background: transparent; }
#simplecheckout_payment .sc-payment-group, #simplecheckout_payment .sc-payment-cod { --sc-payment-border: #c4d7e8; --sc-payment-bg: #f5f9fd; --sc-payment-head: #eaf2fa; --sc-payment-accent: #0758a8; background: #f5f9fd; color: #163c60; }
#simplecheckout_payment .sc-payment-group + .sc-payment-group { border-top-color: #c4d7e8; }
#simplecheckout_payment .sc-payment-group > .radio { padding: 10px 0; }
#simplecheckout_payment .sc-payment-group > .radio > label { color: #163c60; }
#simplecheckout_payment .sc-payment-selected { box-shadow: none; }
#simplecheckout_payment .sc-payment-details > .form-group { padding: 0 0 12px 24px; margin: 0; }
#simplecheckout_payment .yk-simple-choice .yk-simple-choice__sbp, #simplecheckout_payment .yk-simple-choice .yk-simple-choice__other { border-color: #c4d7e8; background: #fff; color: #163c60; }
#simplecheckout_payment .yk-simple-choice legend { color: #163c60; }
#simplecheckout_payment .yk-simple-choice .yk-simple-choice__icon { color: #34323a; }
#simplecheckout_payment .yk-simple-choice summary { color: #284c70; }
#simplecheckout_comment textarea.form-control { height: 60px !important; min-height: 60px; resize: vertical; }
#simplecheckout_comment .simplecheckout-block-content { padding: 14px 16px 16px !important; }

/* Match section headings without changing the coloured carrier options underneath. */
#simplecheckout_shipping > .checkout-heading { box-sizing: border-box; margin: 0 0 12px; padding: 12px 16px; border: 1px solid #a9c5df; border-radius: 8px; background: #eaf2fa; color: #163c60; font-size: 14px; line-height: 1.5; }
.simplecheckout #agreement_checkbox, .simplecheckout #agreement_checkbox a { color: #284c70; }
@media (max-width: 767px) {
 #simplecheckout_shipping > .checkout-heading { padding: 11px 12px; }
 #simplecheckout_payment .sc-payment-details > .form-group { padding-left: 24px; }
 #simplecheckout_comment .simplecheckout-block-content { padding: 13px 12px !important; }
}

.sc-success-messengers { margin: 12px 0 16px; }
.sc-confirm-action-row + #simplecheckout_proceed_payment { clear: both; width: 100%; box-sizing: border-box; margin: 12px 0; text-align: center; }

/* Customer fields: keep the original label accessible, float its visible counterpart. */
.simplecheckout .form-group.sc-floating-row { margin: 0 0 8px !important; }
.simplecheckout .sc-floating-row > label.control-label { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.simplecheckout .sc-floating-control { position: relative; float: none !important; width: 100% !important; padding: 0 !important; }
.simplecheckout .sc-floating-control > .form-control { box-sizing: border-box; width: 100%; height: 60px !important; min-height: 60px; padding: 22px 14px 7px !important; border: 1px solid #bdd1e4; border-radius: 10px; background: #fff; color: #163c60; font-size: 16px !important; line-height: 22px; box-shadow: none; }
.simplecheckout .sc-floating-control > input::placeholder, .simplecheckout .sc-floating-control > textarea::placeholder { color: transparent !important; }
.simplecheckout .sc-floating-label { position: absolute; top: 19px; left: 14px; right: 30px; margin: 0; color: #657f96; font-size: 16px; line-height: 22px; font-weight: 400; pointer-events: none; transition: top .15s ease, font-size .15s ease; }
.simplecheckout .sc-floating-control:focus-within > .sc-floating-label, .simplecheckout .sc-has-value > .sc-floating-label, .simplecheckout input:-webkit-autofill ~ .sc-floating-label { top: 6px; font-size: 11px; line-height: 16px; }
.simplecheckout .sc-floating-control > select { padding-right: 32px !important; }
.simplecheckout .sc-floating-control:has(select:not(:focus)):not(.sc-has-value) > .sc-floating-label { visibility: hidden; }
.simplecheckout .sc-floating-control > select:has(option:checked[value=""]), .simplecheckout .sc-floating-control > select:has(option:checked[value="0"]) { padding-top: 7px !important; }
.simplecheckout .sc-floating-control > .form-control:focus { border-color: #508ec5; outline: 0; box-shadow: 0 0 0 3px rgba(70,128,182,.12); }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group { display: flex; align-items: center; gap: 3px; width: 148px !important; min-width: 148px !important; max-width: 148px !important; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn { display: flex; flex: 0 0 auto; width: auto; gap: 3px; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group input { float: none; flex: 0 0 40px; width: 40px !important; min-width: 40px !important; height: 36px; border-radius: 9px !important; text-align: center; border: 1px solid #c4d7e8; background: #fff; color: #163c60; box-shadow: none; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn > .btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 36px; margin: 0 !important; padding: 0; border: 1px solid #bfd2e4; border-radius: 9px !important; background: #e8f1f9; color: #245b8b; box-shadow: none; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn > .btn:hover { background: #d7e8f7; border-color: #8bb1d2; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn > .btn-danger { background: #fff2f1; color: #bd514a; border-color: #efcfcc; }
#simplecheckout_cart .simplecheckout-cart td.quantity .input-group-btn > .btn:focus-visible { outline: 2px solid #2869a4; outline-offset: 2px; }

/* Preserve room for all quantity controls even in narrow product cards. */
@media (max-width: 480px) {
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.quantity { grid-column: 1 / -1; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.price { grid-column: 1; text-align: left !important; }
 #simplecheckout_cart .simplecheckout-cart tr.sc-cart-product > td.total { grid-column: 2; }
}
#simplecheckout_comment .sc-comment-field { position: relative; }
#simplecheckout_comment .sc-comment-field > textarea.form-control { height: 60px !important; min-height: 60px; padding: 26px 14px 7px !important; resize: vertical; }
#simplecheckout_comment .sc-comment-field > .sc-floating-label { left: 14px; right: 14px; top: 19px; }
#simplecheckout_comment .sc-comment-field:focus-within > .sc-floating-label,
#simplecheckout_comment .sc-comment-field.sc-has-value > .sc-floating-label { top: 6px; font-size: 11px; line-height: 16px; }
.simplecheckout .sc-floating-row.required .sc-floating-label::after { content: ' *'; color: #b96055; }
.simplecheckout .sc-floating-control > select { border-radius: 10px; }
#simplecheckout_payment .yk-simple-choice .yk-simple-choice__sbp, #simplecheckout_payment .yk-simple-choice .yk-simple-choice__other { border-radius: 10px; }
#simplecheckout_payment .yk-simple-choice .yk-simple-choice__other { padding: 0; }
#simplecheckout_payment .yk-simple-choice .yk-simple-choice__other > summary { display: flex; align-items: center; box-sizing: border-box; height: 38px; padding: 0 14px; line-height: 1.5; }
#simplecheckout_payment .yk-simple-choice .yk-simple-choice__options { box-sizing: border-box; margin-top: 0; padding: 10px 14px 12px; }
#simplecheckout_payment .sc-payment-group > .radio > label { padding-top: 6px; padding-bottom: 6px; line-height: 1.6; }
#simplecheckout_customer .radio > label { min-height: 32px; padding-top: 5px; padding-bottom: 5px; }
.simplecheckout #agreement_checkbox { display: block; margin: 12px 0; padding: 12px 14px; border: 1px solid #c4d7e8; border-radius: 10px; background: #f5f9fd; font-size: 13px; line-height: 1.6; }
.simplecheckout #agreement_checkbox .checkbox { margin: 0 0 10px; }
.simplecheckout #agreement_checkbox .checkbox:last-child { margin-bottom: 0; }
.simplecheckout #agreement_checkbox input[type="checkbox"] { accent-color: #2869a4; }
