/* Checkout V33 — all rules scoped to validated step 2. */
:root{--ns-checkout-v33-ready:1}
html.ns-checkout-v33{--ns-co-red:#c82026;--ns-co-line:#e2e2e2;--ns-co-green:#237842;--ns-co-gray:#666}
html.ns-checkout-v33 .ns-co-section{border-radius:6px!important;padding-top:16px!important;padding-bottom:16px!important;margin-bottom:12px!important}
html.ns-checkout-v33 .ns-co-heading{font-size:19px!important;line-height:1.35!important;font-weight:700!important;margin:0 0 14px!important;padding:0!important;color:#181818!important}
html.ns-checkout-v33 .ns-co-card{border-radius:6px!important;margin-bottom:6px!important;min-height:0!important;box-shadow:none!important}
html.ns-checkout-v33 .ns-co-label{border-radius:6px!important;padding-top:10px!important;padding-bottom:10px!important;padding-right:12px!important;min-height:52px!important;line-height:1.35!important;box-sizing:border-box!important}
html.ns-checkout-v33 .ns-co-card:has(input[type=radio]:checked){border-color:var(--ns-co-red)!important;background-color:#f9e9ea!important}
html.ns-checkout-v33 .ns-co-card:has(input[type=radio]:checked) .ns-co-label{border-color:var(--ns-co-red)!important;background-color:#f9e9ea!important}
html.ns-checkout-v33 .ns-co-card:has(input[type=radio]:focus-visible){outline:2px solid #222;outline-offset:2px}
html.ns-checkout-v33 .ns-co-card input[type=radio]{accent-color:var(--ns-co-red)}
html.ns-checkout-v33 .ns-co-card .ns-co-logo{width:60px!important;max-width:60px!important;height:30px!important;max-height:30px!important;object-fit:contain!important;border:0!important;border-radius:3px!important}
html.ns-checkout-v33 .ns-co-price{font-size:13px!important;font-weight:700!important;line-height:1.35!important;white-space:nowrap!important;color:#181818!important}
html.ns-checkout-v33 .ns-co-free{color:var(--ns-co-green)!important}
html.ns-checkout-v33 .ns-co-desc{font-size:12px!important;line-height:1.4!important;color:var(--ns-co-gray)!important;margin:3px 0 0!important}
/* Apply only to verified, price-separated inner branches. Native labels/radio pseudo-elements stay in place. */
html.ns-checkout-v33 .ns-co-layout{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;min-width:0!important;min-height:0!important}
html.ns-checkout-v33 .ns-co-layout > .ns-co-content{flex:1 1 auto!important;min-width:0!important;overflow-wrap:break-word!important}
html.ns-checkout-v33 .ns-co-layout > .ns-co-price{position:static!important;float:none!important;align-self:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0 0 0 auto!important;padding:0!important;text-align:right!important}
html.ns-checkout-v33 .ns-co-section select{border-radius:3px!important}
html.ns-checkout-v33 .ns-co-summary,html.ns-checkout-v33 .ns-co-help{border-radius:6px!important}
html.ns-checkout-v33 :is(.ns-co-summary,.ns-co-help) > :first-child{border-top-left-radius:5px!important;border-top-right-radius:5px!important}
html.ns-checkout-v33 :is(.ns-co-summary,.ns-co-help) > :last-child{border-bottom-left-radius:5px!important;border-bottom-right-radius:5px!important}
html.ns-checkout-v33 .ns-co-country-select{border-radius:3px!important}
html.ns-checkout-v33 .ns-co-summary .price-wrapper{font-variant-numeric:tabular-nums}
html.ns-checkout-v33 .ns-co-summary :is(.price-primary,.price-final,.price-total){font-weight:700}
html.ns-checkout-v33 .ns-co-summary :is(.price-secondary,.price-label.price-secondary){font-size:12px!important;color:var(--ns-co-gray)!important}
html.ns-checkout-v33 .ns-co-recap-heading{font-weight:700!important;font-size:16px!important;line-height:1.4!important}
html.ns-checkout-v33 .ns-co-next.ns-co-next{border-radius:3px!important;font-weight:700!important}
html.ns-checkout-v33 .ns-co-back{font-size:13px!important}
html.ns-checkout-v33 .ns-co-more{display:none}
html.ns-checkout-v33 .ns-co-debug{font:12px/1.4 monospace;background:#fff;border:1px solid #ccc;padding:8px;margin:8px 0;color:#111;max-width:100%}
html.ns-checkout-v33 .ns-co-debug textarea{display:block;width:100%;font:11px/1.4 monospace}
@media(max-width:767px){
  html.ns-checkout-v33 .ns-co-section{padding-top:14px!important;padding-bottom:14px!important;margin-bottom:8px!important}
  html.ns-checkout-v33 .ns-co-heading{font-size:16px!important;margin-bottom:10px!important}
  html.ns-checkout-v33 .ns-co-label{font-size:13px!important;min-height:52px!important;padding-top:9px!important;padding-bottom:9px!important;padding-right:9px!important}
  html.ns-checkout-v33 .ns-co-card .ns-co-logo{width:45px!important;max-width:45px!important;height:26px!important;max-height:26px!important}
  html.ns-checkout-v33 .ns-co-price{font-size:12px!important}
  html.ns-checkout-v33 .ns-co-desc{font-size:11px!important;line-height:1.35!important}
  html.ns-checkout-v33 .ns-co-label :is(.show-tooltip,.acronym){font-size:12px}
  html.ns-checkout-v33 .ns-co-layout{gap:5px!important}
  html.ns-checkout-v33 .ns-co-card.ns-co-extra:not(:has(input[type=radio]:checked)){display:none!important}
  html.ns-checkout-v33 .ns-co-more:not([hidden]){display:flex!important;align-items:center;justify-content:center;gap:8px;background:transparent;color:#222;border:0;border-radius:3px;padding:10px;width:100%;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;margin:0}
  html.ns-checkout-v33 .ns-co-more::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}
  html.ns-checkout-v33 .ns-co-more[aria-expanded=true]::after{transform:rotate(225deg);margin-top:4px}
  html.ns-checkout-v33 .ns-co-summary{margin-top:8px!important}
  html.ns-checkout-v33 .ns-co-summary .ns-co-next{min-height:46px!important}
  html.ns-checkout-v33 .ns-co-recap-heading{font-size:15px!important}
}

/* V33: uniform selected surface, no changes to native input, logo or pickup widget. */
html.ns-checkout-v33 .ns-co-card:has(input[type=radio]:checked) :is(.ns-co-layout,.ns-co-content,.ns-co-price,.ns-co-desc){background-color:transparent!important}
html.ns-checkout-v33 .ns-co-card:has(input[type=radio]:checked) .ns-co-label{background:#f9e9ea!important}
@media(max-width:767px){
 html.ns-checkout-v33 .ns-co-fields{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:8px!important;align-items:end!important;min-width:0!important}
 html.ns-checkout-v33 .ns-co-fields>.ns-co-field{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 html.ns-checkout-v33 .ns-co-field .ns-co-country-select{width:100%!important;min-width:0!important;max-width:100%!important;font-size:13px!important;box-sizing:border-box!important}
 html.ns-checkout-v33 .ns-co-field label{font-size:12px!important}
}

/* V33: native help icon only, no replacement of the actual tooltip or pickup selector. */
html.ns-checkout-v33 .ns-co-card .ns-co-native-help{color:#777!important}
html.ns-checkout-v33 .ns-co-card .ns-co-native-help::before{color:#777!important}
/* Selected surface: remove competing fill from verified structural child nodes, not native widgets. */
html.ns-checkout-v33 .ns-co-card.ns-co-selected,
html.ns-checkout-v33 .ns-co-label.ns-co-selected{background:#f9e9ea!important;border-color:var(--ns-co-red)!important}
html.ns-checkout-v33 .ns-co-card.ns-co-selected .ns-co-surface{background-color:transparent!important;background-image:none!important}
@media(max-width:767px){
 html.ns-checkout-v33 .ns-co-fields>.ns-co-field-full{grid-column:1/-1!important;min-width:0!important;max-width:100%!important}
 html.ns-checkout-v33 .ns-co-fields::before,html.ns-checkout-v33 .ns-co-fields::after{grid-column:1/-1!important}
 html.ns-checkout-v33 .ns-co-fields>.ns-co-field{align-self:end!important}
 html.ns-checkout-v33 .ns-co-field :is(select,.select-wrapper,.select-wrap,.form-control){min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
}

/* V33: actual Merkur markup verified by independent-1 diagnostics.
   Bootstrap clearfix pseudo-elements must not become grid items. */
@media(max-width:767px){
 html.ns-checkout-v33 #select-country-payment .co-basic-information > .row.ns-co-fields{
  display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)!important;
  gap:8px!important;margin:0!important;width:100%!important;max-width:100%!important;
  align-items:end!important;box-sizing:border-box!important;
 }
 html.ns-checkout-v33 #select-country-payment .row.ns-co-fields::before,
 html.ns-checkout-v33 #select-country-payment .row.ns-co-fields::after{content:none!important;display:none!important}
 html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field-country{grid-column:1!important;grid-row:auto!important}
 html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field-currency{grid-column:2!important;grid-row:auto!important}
 html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field:has(> .smart-label-wrapper){min-width:0!important}
 html.ns-checkout-v33 #select-country-payment .ns-co-field > .smart-label-wrapper{width:100%!important;min-width:0!important;margin:0!important}
 html.ns-checkout-v33 #select-country-payment :is(#deliveryCountryId,#payment-currency).ns-co-country-select{padding-left:10px!important;padding-right:25px!important;background-position:right 8px center!important}
}
/* One selected surface: Merkur paints an additional translucent ::after
   on the radio-wrapper. Keep the native radio label pseudo-elements intact. */
html.ns-checkout-v33 #order-form :is(#order-shipping-methods,#order-billing-methods) > .radio-wrapper.ns-co-card:has(> input[type=radio]:checked){background:#f9e9ea!important;border-color:var(--ns-co-red)!important}
html.ns-checkout-v33 #order-form :is(#order-shipping-methods,#order-billing-methods) > .radio-wrapper.ns-co-card:has(> input[type=radio]:checked)::after{background:transparent!important;opacity:0!important}
html.ns-checkout-v33 #order-form :is(#order-shipping-methods,#order-billing-methods) > .radio-wrapper.ns-co-card:has(> input[type=radio]:checked) > label.ns-co-label{background:transparent!important;border-color:transparent!important}
/* Only the question icon, not the native tooltip content or listeners. */
html.ns-checkout-v33 #order-form .radio-wrapper .question-tooltip.ns-co-native-help{background-color:#e4e4e4!important;color:#666!important}
html.ns-checkout-v33 #order-form .radio-wrapper .question-tooltip.ns-co-native-help::before{color:#666!important}

/* V33: visual accordion. No native shipping controls are moved or replaced. */
html.ns-checkout-v33 #order-shipping-methods>.ns-co-ship-group{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0 0 8px;padding:13px 15px;box-sizing:border-box;border:1px solid var(--ns-co-line);border-radius:6px;background:#fff;color:#181818;text-align:left;font:inherit;font-weight:600;cursor:pointer;min-height:44px}
html.ns-checkout-v33 #order-shipping-methods>.ns-co-ship-group::after{content:'';flex:0 0 8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 4px 0}
html.ns-checkout-v33 #order-shipping-methods>.ns-co-ship-group.ns-co-group-open{border-radius:6px 6px 0 0;margin-bottom:0;border-bottom:0}
html.ns-checkout-v33 #order-shipping-methods>.ns-co-ship-group.ns-co-group-open::after{transform:rotate(225deg);margin-bottom:-4px}
html.ns-checkout-v33 #order-shipping-methods>.ns-co-ship-group.ns-co-group-active{border-color:var(--ns-co-red);cursor:default}
html.ns-checkout-v33 #order-shipping-methods>.ns-co-ship-group[aria-disabled=true]::after{opacity:.55}
html.ns-checkout-v33 #order-shipping-methods>.radio-wrapper.ns-co-group-member{margin:0!important;border-radius:0!important;border-top-width:0!important;box-sizing:border-box!important}
html.ns-checkout-v33 #order-shipping-methods>.radio-wrapper.ns-co-group-last{border-radius:0 0 6px 6px!important;margin-bottom:8px!important}
html.ns-checkout-v33 #order-shipping-methods>.radio-wrapper.ns-co-group-closed:not(:has(> input[type=radio]:checked)){display:none!important}
@media(max-width:767px){html.ns-checkout-v33 #order-shipping-methods>.ns-co-ship-group{font-size:14px;padding:11px 12px}}

/* V33: keep V6's uniform selected tint; native radio and tooltip remain intact. */
html.ns-checkout-v33 #order-form .radio-wrapper .question-tooltip.ns-co-native-help{background:#fff!important;color:#666!important;box-shadow:inset 0 0 0 1px #bcbcbc!important;border-radius:50%!important}
html.ns-checkout-v33 #order-form .radio-wrapper :is(.payment-logo,.shipping-logo){border:0!important;box-shadow:none!important;border-radius:3px!important;background:transparent!important}
html.ns-checkout-v33 #order-form .radio-wrapper :is(.payment-logo,.shipping-logo)::before,
html.ns-checkout-v33 #order-form .radio-wrapper :is(.payment-logo,.shipping-logo)::after{border-color:transparent!important;box-shadow:none!important}
/* Actual Merkur summary surface from independent diagnostics; don't clip the whole sidebar. */
html.ns-checkout-v33 #summary-box.order-summary-inner{border-radius:6px!important}
html.ns-checkout-v33 #summary-box.order-summary-inner > .ns-co-recap-heading{border-radius:5px 5px 0 0!important}
html.ns-checkout-v33 #summary-box.order-summary-inner > .order-summary-item.price{border-radius:0 0 5px 5px!important}
html.ns-checkout-v33 .ns-co-help,html.ns-checkout-v33 .order-summary > .checkout-box{border-radius:6px!important}
html.ns-checkout-v33 .order-summary > .checkout-box > :first-child{border-top-left-radius:5px!important;border-top-right-radius:5px!important}
html.ns-checkout-v33 .order-summary > .checkout-box > :last-child{border-bottom-left-radius:5px!important;border-bottom-right-radius:5px!important}
/* Main methods stay visible on both screens. Never hide a checked native option. */
html.ns-checkout-v33 #order-billing-methods>.radio-wrapper.ns-co-extra:not(:has(> input[type=radio]:checked)){display:none!important}
html.ns-checkout-v33 #order-billing-methods>.ns-co-more:not([hidden]){display:flex!important;align-items:center;justify-content:center;gap:8px;background:transparent;color:#222;border:0;border-radius:3px;padding:10px;width:100%;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;margin:0}
html.ns-checkout-v33 #order-billing-methods>.ns-co-more::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}
html.ns-checkout-v33 #order-billing-methods>.ns-co-more[aria-expanded=true]::after{transform:rotate(225deg);margin-top:4px}

/* V33: one continuous shipping group outline, no lines between options.
   Only the checked row has a light tint. Native inputs remain untouched. */
html.ns-checkout-v33 #order-form #order-shipping-methods > .radio-wrapper.ns-co-group-member{
 border-style:solid!important;border-width:0 1px!important;border-color:var(--ns-co-line)!important;
 box-shadow:none!important;background:#fff!important;
}
html.ns-checkout-v33 #order-form #order-shipping-methods > .radio-wrapper.ns-co-group-member.ns-co-group-selected{border-color:var(--ns-co-red)!important}
html.ns-checkout-v33 #order-form #order-shipping-methods > .radio-wrapper.ns-co-group-member.ns-co-group-last{border-bottom-width:1px!important}
html.ns-checkout-v33 #order-form #order-shipping-methods > .radio-wrapper.ns-co-group-member:has(> input[type=radio]:checked){background:#f9e9ea!important;border-top-width:0!important}
html.ns-checkout-v33 #order-form #order-shipping-methods > .radio-wrapper.ns-co-group-member > label.ns-co-label{
 border:0!important;box-shadow:none!important;background:transparent!important;
}
html.ns-checkout-v33 #order-form #order-shipping-methods > .radio-wrapper.ns-co-group-member::after{background:transparent!important;opacity:0!important}

/* V33: group heading stays white in every state; selected native row alone is tinted. */
html.ns-checkout-v33 #order-form #order-shipping-methods > button.ns-co-ship-group{
 background:#fff!important;box-shadow:none!important;
}
html.ns-checkout-v33 #order-form #order-shipping-methods > button.ns-co-ship-group.ns-co-group-active{border-color:var(--ns-co-red)!important}

/* V33: remove only the three outer section frames. Keep method cards and sidebar intact. */
html.ns-checkout-v33 #select-country-payment > .co-basic-information,
html.ns-checkout-v33 #order-form > :is(.co-delivery-method,.co-payment-method){
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;
 padding:12px 0 16px!important;margin-bottom:12px!important;
}
@media(min-width:768px){
 html.ns-checkout-v33 #select-country-payment .co-basic-information > .row.ns-co-fields{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:12px!important;margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;align-items:end!important;
 }
 html.ns-checkout-v33 #select-country-payment .row.ns-co-fields::before,
 html.ns-checkout-v33 #select-country-payment .row.ns-co-fields::after{content:none!important;display:none!important}
 html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field-full{grid-column:1/-1!important}
 html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field .form-control{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
}
@media(max-width:767px){
 /* Merkur's mobile cart-content reaches the viewport edges: retain 12px safe gutters. */
 html.ns-checkout-v33 #select-country-payment > .co-basic-information,
 html.ns-checkout-v33 #order-form > :is(.co-delivery-method,.co-payment-method){padding:10px 12px 12px!important;margin-bottom:8px!important}
}

/* V33: compact country/currency controls on desktop and mobile.
   Labels stay in the accessibility tree. No control values or native events change. */
html.ns-checkout-v33 #select-country-payment .co-basic-information:has(.ns-co-fields) .ns-co-heading{display:none!important}
html.ns-checkout-v33 #select-country-payment > .co-basic-information{padding:4px 0 8px!important;margin-bottom:4px!important}
html.ns-checkout-v33 #select-country-payment .co-basic-information > .row.ns-co-fields{
 grid-template-columns:minmax(0,7fr) minmax(0,3fr)!important;gap:8px!important;align-items:center!important;
}
html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field-country{grid-column:1!important}
html.ns-checkout-v33 #select-country-payment .ns-co-fields > .ns-co-field-currency{grid-column:2!important}
html.ns-checkout-v33 #select-country-payment .ns-co-fields > :is(.ns-co-field-country,.ns-co-field-currency) .form-group{margin:0!important;padding:0!important}
html.ns-checkout-v33 #select-country-payment .ns-co-fields > :is(.ns-co-field-country,.ns-co-field-currency) label{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
html.ns-checkout-v33 #select-country-payment :is(#deliveryCountryId,#payment-currency).ns-co-country-select{
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:44px!important;min-height:44px!important;max-height:none!important;margin:0!important;
 padding:0 28px 0 10px!important;line-height:normal!important;font-size:14px!important;
 background-position:right 8px center!important;box-sizing:border-box!important;
}
@media(max-width:767px){
 html.ns-checkout-v33 #select-country-payment > .co-basic-information{padding:4px 12px 8px!important;margin-bottom:4px!important}
}

/* V33: remove native generated numbering from the two main section headings only. */
html.ns-checkout-v33 #order-form :is(.co-delivery-method,.co-payment-method) .ns-co-heading::before,
html.ns-checkout-v33 #order-form :is(.co-delivery-method,.co-payment-method) .ns-co-heading::after{
 content:none!important;display:none!important;
}
@media(max-width:767px){
 html.ns-checkout-v33 #select-country-payment > .co-basic-information{padding:14px 12px 8px!important;margin-bottom:4px!important}
 html.ns-checkout-v33 #select-country-payment .co-basic-information > .row.ns-co-fields{
  width:100%!important;max-width:290px!important;
  grid-template-columns:minmax(0,1fr) minmax(0,88px)!important;gap:8px!important;
 }
 html.ns-checkout-v33 #select-country-payment :is(#deliveryCountryId,#payment-currency).ns-co-country-select{
  height:40px!important;min-height:40px!important;font-size:13px!important;
 }
}

/* V33: native Merkur sticky behaviour is untouched. Inline estimates, no extra boxes. */
html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta{flex:0 0 auto;white-space:nowrap;font-size:12px;line-height:1.35;color:var(--ns-co-green);font-weight:400;background:transparent!important;align-self:center}
html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta + .ns-co-price{margin-left:0!important}
html.ns-checkout-v33 #summary-box > .ns-co-saving{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ns-co-green);font-size:13px;padding:8px 0;background:transparent;border:0}
@media(max-width:767px){html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta{font-size:11px}}

/* V33: compact inline delivery and verified cart thumbnails. */
html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta{display:inline-flex;align-items:center;gap:3px;font-size:12px;white-space:nowrap}
html.ns-checkout-v33 #order-shipping-methods .ns-co-eta::before{content:'';display:block;width:15px;height:15px;flex:0 0 15px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h15v13H1zM16 9h4l3 3v5h-7'/%3E%3Ccircle cx='5.5' cy='18' r='2.5'/%3E%3Ccircle cx='18.5' cy='18' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat}
html.ns-checkout-v33 #summary-box .ns-co-product-thumb{display:inline-block!important;width:32px!important;height:32px!important;max-width:32px!important;object-fit:contain;vertical-align:middle;margin:0 6px 2px 0;border:0;border-radius:3px;float:none!important}
@media(max-width:767px){
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta{font-size:10px;gap:2px}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-eta::before{width:12px;height:12px;flex-basis:12px}
 html.ns-checkout-v33 #summary-box .ns-co-product-thumb{width:28px!important;height:28px!important;max-width:28px!important}
}

/* V33: on narrow screens move the date beneath the native carrier name; keep the price on that line. */
@media(max-width:767px){
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout.ns-co-eta-stack{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) max-content!important;column-gap:5px!important;row-gap:3px!important;align-items:center!important;
 }
 html.ns-checkout-v33 #order-shipping-methods .ns-co-eta-stack > .ns-co-eta-logo{grid-column:1;grid-row:1/3;align-self:center;}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-eta-stack > .ns-co-content:not(.ns-co-eta-logo){grid-column:2/4;grid-row:1;min-width:0!important;}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout.ns-co-eta-stack > .ns-co-eta{grid-column:2;grid-row:2;font-size:12px!important;gap:4px;justify-self:start;white-space:nowrap;}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-eta-stack > .ns-co-price{grid-column:3;grid-row:2;justify-self:end;align-self:center!important;}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-eta-stack > .ns-co-eta::before{width:15px;height:15px;flex-basis:15px}
}

/* V33: summary picture column, native name and variant in the same text column. */
html.ns-checkout-v33 #summary-box .ns-co-recap-name-grid{--ns-co-thumb-size:32px;--ns-co-thumb-gap:6px;display:grid!important;grid-template-columns:var(--ns-co-thumb-size) minmax(0,1fr);column-gap:var(--ns-co-thumb-gap);row-gap:2px;align-items:start;position:relative;min-width:0}
html.ns-checkout-v33 #summary-box .ns-co-recap-name-grid.ns-co-recap-row-grid{grid-template-columns:var(--ns-co-thumb-size) minmax(0,1fr) auto}
html.ns-checkout-v33 #summary-box .ns-co-recap-name{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere;float:none!important}
html.ns-checkout-v33 #summary-box .ns-co-recap-variant{grid-column:2;grid-row:2;min-width:0;text-align:left!important;margin:0!important;padding:0!important;float:none!important;align-self:start}
html.ns-checkout-v33 #summary-box .ns-co-recap-qty{grid-column:1;grid-row:1/3;text-align:center!important;align-self:start;margin:calc(var(--ns-co-thumb-size) + 2px) 0 0!important;padding:0!important;float:none!important}
html.ns-checkout-v33 #summary-box .ns-co-recap-price{grid-column:3;grid-row:1/3;justify-self:end;align-self:center;white-space:nowrap;float:none!important}
html.ns-checkout-v33 #summary-box .ns-co-recap-picture-host{position:static!important}
html.ns-checkout-v33 #summary-box .ns-co-recap-picture-host > .ns-co-product-thumb{position:absolute!important;left:0;top:0;margin:0!important;width:var(--ns-co-thumb-size)!important;height:var(--ns-co-thumb-size)!important}
html.ns-checkout-v33 #summary-box .ns-co-recap-name-grid{grid-template-rows:auto auto;min-height:var(--ns-co-thumb-size);align-content:start}
@media(max-width:767px){html.ns-checkout-v33 #summary-box .ns-co-recap-name-grid{--ns-co-thumb-size:28px}}

/* V33: desktop Merkur wrapper was an extra scroll container (live diagnostic).
   Clip horizontal overflow without creating a vertical scroll container.
   Do not change body/html scrolling, native sticky positions or mobile. */
@media(min-width:768px){
 html.ns-checkout-v33 body.in-krok-1 .overall-wrapper,
 html.ns-checkout-v33 body.id--16 .overall-wrapper{
  overflow-x:clip!important;overflow-y:visible!important;
 }
}
/* V33: actual Merkur markup: .cart-item > .cart-item-name > a.main-link
   containing our thumbnail, bare name text and .main-link-variant.
   Leave all native nodes and the link intact. */
html.ns-checkout-v33 #summary-box .cart-item:has(> .cart-item-name > .main-link > .ns-co-product-thumb){
 --ns-co-recap-thumb:32px;--ns-co-recap-gap:6px;
 display:grid!important;grid-template-columns:var(--ns-co-recap-thumb) minmax(0,1fr) max-content!important;
 grid-template-rows:auto!important;column-gap:var(--ns-co-recap-gap)!important;row-gap:0!important;
 align-items:start!important;min-height:calc(var(--ns-co-recap-thumb) + 18px);box-sizing:border-box;
}
html.ns-checkout-v33 #summary-box .cart-item:has(> .cart-item-name > .main-link > .ns-co-product-thumb) > .cart-item-name{
 grid-column:2!important;grid-row:1!important;position:relative!important;display:block!important;
 width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important;align-self:start!important;float:none!important;
}
html.ns-checkout-v33 #summary-box .cart-item-name > .main-link:has(> .ns-co-product-thumb){
 display:block!important;position:static!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html.ns-checkout-v33 #summary-box .cart-item-name > .main-link > .ns-co-product-thumb{
 position:absolute!important;left:calc(-1 * (var(--ns-co-recap-thumb) + var(--ns-co-recap-gap)))!important;top:0!important;
 width:var(--ns-co-recap-thumb)!important;height:var(--ns-co-recap-thumb)!important;max-width:var(--ns-co-recap-thumb)!important;margin:0!important;
}
html.ns-checkout-v33 #summary-box .cart-item-name > .main-link:has(> .ns-co-product-thumb) > .main-link-variant{
 display:block!important;position:static!important;float:none!important;width:auto!important;max-width:100%!important;
 margin:2px 0 0!important;padding:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;font-weight:400!important;
}
html.ns-checkout-v33 #summary-box .cart-item:has(> .cart-item-name > .main-link > .ns-co-product-thumb) > .cart-item-amount{
 grid-column:1!important;grid-row:1!important;align-self:start!important;justify-self:stretch!important;position:static!important;
 width:auto!important;min-width:0!important;margin:calc(var(--ns-co-recap-thumb) + 2px) 0 0!important;padding:0!important;text-align:center!important;white-space:nowrap!important;float:none!important;font-size:11px!important;line-height:1.3!important;
}
html.ns-checkout-v33 #summary-box .cart-item:has(> .cart-item-name > .main-link > .ns-co-product-thumb) > .cart-item-price{
 grid-column:3!important;grid-row:1!important;align-self:center!important;justify-self:end!important;width:auto!important;min-width:0!important;position:static!important;margin:0!important;padding:0!important;white-space:nowrap!important;float:none!important;
}
@media(max-width:767px){html.ns-checkout-v33 #summary-box .cart-item:has(> .cart-item-name > .main-link > .ns-co-product-thumb){--ns-co-recap-thumb:28px}}

/* V33: final spacing polish; no changes to scroll containers or native controls. */
html.ns-checkout-v33 #summary-box > .ns-co-saving > span{color:#181818!important}
@media(min-width:768px){
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta + .ns-co-price{margin-left:8px!important}
}
@media(max-width:767px){
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout.ns-co-eta-stack{row-gap:7px!important}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-content:not(.ns-co-eta-logo) :is(.ns-co-desc, a:not(.show-tooltip):not(.ns-co-native-help), .choose-branch){margin-top:0!important;margin-bottom:0!important}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-content:not(.ns-co-eta-logo) > :is(p,div,span):has(> a:not(.show-tooltip):not(.ns-co-native-help)){margin-top:1px!important;margin-bottom:0!important}
}

/* V33: compact desktop fields and consistent delivery icon alignment. */
html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta{
 align-items:center!important;align-self:center!important;gap:4px;line-height:1.35;
}
html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta::before{
 position:static!important;display:block!important;align-self:center!important;
 width:16px!important;height:16px!important;flex:0 0 16px!important;
 margin:0!important;padding:0!important;transform:none!important;
}
@media(min-width:768px){
 html.ns-checkout-v33 #select-country-payment .co-basic-information > .row.ns-co-fields{
  width:100%!important;max-width:420px!important;
  grid-template-columns:minmax(0,194fr) minmax(0,88fr)!important;gap:12px!important;
 }
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta + .ns-co-price{margin-left:18px!important}
}
@media(max-width:767px){
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout.ns-co-eta-stack{column-gap:9px!important}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > .ns-co-eta::before{
  width:15px!important;height:15px!important;flex-basis:15px!important;
 }
}

/* V33: desktop only — a little breathing room below the method name. */
@media(min-width:768px){
 html.ns-checkout-v33 #order-form :is(#order-shipping-methods,#order-billing-methods) .ns-co-label .ns-co-desc{
  display:block!important;margin-top:6px!important;
 }
 html.ns-checkout-v33 #order-shipping-methods .ns-co-label :is(.payment-info,.shipping-info,.ns-co-content:not(.ns-co-eta-logo)) > :is(p,div,span):not(.ns-co-desc,.ns-co-native-help,.show-tooltip):has(> a:not(.show-tooltip,.ns-co-native-help,.question-tooltip), > .choose-branch){
  display:block;margin-top:5px!important;
 }
 html.ns-checkout-v33 #order-shipping-methods .ns-co-label :is(.payment-info,.shipping-info,.ns-co-content:not(.ns-co-eta-logo)) > :is(a:not(.show-tooltip,.ns-co-native-help,.question-tooltip),.choose-branch):not(.ns-co-desc){
  display:inline-block;margin-top:5px!important;
 }
}

/* V33: consistent native payment descriptions. Desktop only. */
@media(min-width:768px){
 html.ns-checkout-v33 #order-form #order-billing-methods .radio-wrapper > label .payment-info > .sublabel-description{
  margin-top:6px!important;
 }
}

/* V33: mobile shipping names use the available width, even without an ETA.
   Only verified direct native logo/content/price branches are reflowed. */
@media(max-width:767px){
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout:has(> :is(.payment-logo,.shipping-logo)):has(> :is(.payment-info,.shipping-info).ns-co-content):has(> .ns-co-price):not(:has(> .ns-co-eta)){
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:5px!important;row-gap:3px!important;align-items:center!important;
 }
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout:has(> :is(.payment-logo,.shipping-logo)):not(:has(> .ns-co-eta)) > :is(.payment-logo,.shipping-logo){grid-column:1;grid-row:1/3;align-self:center;}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout:has(> :is(.payment-logo,.shipping-logo)):not(:has(> .ns-co-eta)) > :is(.payment-info,.shipping-info).ns-co-content{grid-column:2;grid-row:1;}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout:has(> :is(.payment-logo,.shipping-logo)):not(:has(> .ns-co-eta)) > .ns-co-price{grid-column:2;grid-row:2;justify-self:end;}
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > :is(.payment-logo,.shipping-logo){
  width:45px!important;max-width:45px!important;min-width:0!important;flex:0 0 45px!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
 }
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > :is(.payment-info,.shipping-info).ns-co-content{
  width:auto!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;
 }
 html.ns-checkout-v33 #order-shipping-methods .ns-co-layout > :is(.payment-info,.shipping-info) .shipping-billing-name{
  max-width:100%!important;width:auto!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;
 }
}

/* V33: native-style mobile dock, and quiet monochrome delivery icons. */
@media(max-width:767px){
 html.ns-checkout-v33 .ns-co-dock{position:fixed;inset:auto 0 0;z-index:90;box-sizing:border-box;background:#fff;color:#111;border-top:1px solid var(--ns-co-line);padding:9px 12px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -3px 14px #00000012;display:flex;flex-direction:column;gap:7px;line-height:1.35;font-family:inherit}
 html.ns-checkout-v33 .ns-co-dock[hidden]{display:none!important}
 html.ns-checkout-v33 .ns-co-dock-total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13px}
 html.ns-checkout-v33 .ns-co-dock-total strong{font-size:20px;white-space:nowrap;color:#111;font-weight:700}
 html.ns-checkout-v33 .ns-co-dock-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;background:var(--ns-co-red,#c82026);color:#fff;border:0;border-radius:3px;line-height:1.35;font-family:inherit;font-size:14px;font-weight:700;letter-spacing:.02em;cursor:pointer;padding:10px 12px;box-sizing:border-box}
 html.ns-checkout-v33 .ns-co-dock-arrow{font-size:19px;line-height:1}
 html.ns-checkout-v33 .ns-co-dock-button:focus-visible{outline:2px solid #111;outline-offset:2px}
 html.ns-checkout-v33 .ns-co-dock-spacer{display:block;flex:none;width:100%;pointer-events:none;box-sizing:border-box;clear:both}
}
@media(min-width:768px){html.ns-checkout-v33 :is(.ns-co-dock,.ns-co-dock-spacer){display:none!important}}


@media(max-width:767px){
 html.ns-checkout-v33 .ns-co-dock{border:0!important;border-radius:6px 6px 0 0!important;box-shadow:0 -4px 18px #00000012;animation:ns-co-dock-in .22s cubic-bezier(.2,.8,.2,1) both}
 @keyframes ns-co-dock-in{from{transform:translateY(100%);opacity:.85}to{transform:translateY(0);opacity:1}}
 @media(prefers-reduced-motion:reduce){html.ns-checkout-v33 .ns-co-dock{animation:none!important}}
}


@media(max-width:767px){
 html.ns-checkout-v33 .ns-co-dock .ns-co-dock-button{height:var(--ns-co-dock-height,44px)!important;min-height:0!important;max-height:none!important;padding-block:0!important;border-radius:3px!important}
 html.ns-checkout-v33 .ns-co-dock .ns-co-dock-arrow[hidden]{display:none!important}
 html.ns-checkout-v33 .ns-co-dock .ns-co-dock-arrow::before{content:var(--ns-co-arrow-content,none);font-family:var(--ns-co-arrow-font,inherit);font-size:var(--ns-co-arrow-size,inherit);font-weight:var(--ns-co-arrow-weight,inherit);font-style:var(--ns-co-arrow-style,normal);line-height:1;display:inline-block}
}


@media(max-width:767px){
 html.ns-checkout-v33 body .ns-co-dock .ns-co-dock-button{position:relative!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;padding-inline:12px!important;white-space:nowrap!important;gap:10px!important}
 html.ns-checkout-v33 body .ns-co-dock .ns-co-dock-button > .ns-co-dock-arrow:not([hidden]){position:static!important;inset:auto!important;transform:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;line-height:1!important;float:none!important;flex:0 0 auto!important}
 html.ns-checkout-v33 body .ns-co-dock .ns-co-dock-arrow::before{position:static!important;display:inline-block!important;float:none!important;margin:0!important;transform:var(--ns-co-arrow-transform,none)!important;line-height:1!important}
}


@media(max-width:767px){html.ns-checkout-v33 .ns-co-dock .ns-co-dock-total strong{font-size:18px!important}}
html.ns-checkout-v33 #order-form #order-shipping-methods > .ns-co-ship-group{justify-content:flex-start;gap:9px}
html.ns-checkout-v33 #order-form #order-shipping-methods > .ns-co-ship-group::after{margin-left:auto}
html.ns-checkout-v33 #order-form #order-shipping-methods > .ns-co-ship-group::before{content:'';display:block;flex:0 0 20px;width:20px;height:20px;background:transparent center/contain no-repeat;position:static;transform:none;border:0;margin:0}
html.ns-checkout-v33 #order-form #order-shipping-methods > .ns-co-ship-group[data-ns-co-group=pickup]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1.5'/%3E%3Cpath d='M4 9h16M4 15h16M12 3v18M8 6h1m6 0h1M8 12h1m6 0h1M8 18h1m6 0h1'/%3E%3C/svg%3E")}
html.ns-checkout-v33 #order-form #order-shipping-methods > .ns-co-ship-group[data-ns-co-group=home]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h13v13H2zM15 9h4l3 4v5h-7'/%3E%3Ccircle cx='6' cy='18' r='2' fill='white'/%3E%3Ccircle cx='18' cy='18' r='2' fill='white'/%3E%3C/svg%3E")}

/* V33 — native order progress, same corner radii as Cart V37. */
html.ns-checkout-v33 ol.cart-header{border-radius:6px!important}
html.ns-checkout-v33 ol.cart-header > li.step,
html.ns-checkout-v33 ol.cart-header > li.step :is(a,span,strong,b,em,i),
html.ns-checkout-v33 ol.cart-header > li.step::before,
html.ns-checkout-v33 ol.cart-header > li.step::after,
html.ns-checkout-v33 ol.cart-header > li.step :is(a,span,strong,b,em,i)::before,
html.ns-checkout-v33 ol.cart-header > li.step :is(a,span,strong,b,em,i)::after{border-radius:3px!important}
