/* Shared checkout presentation over native Disco forms and cart logic. */
body.template-13.ordering-process { background: #f5f7fa; color: var(--es-ink); }
body.template-13.ordering-process:not(.in-kosik) .top-navigation-bar,
body.template-13.ordering-process:not(.in-kosik) #header .header-bottom,
body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper .search,
body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper .navigation-buttons > :not(.es-header-contact) { display: none; }
body.template-13.ordering-process:not(.in-kosik) .overall-wrapper { padding-top: 0; }
body.template-13.ordering-process:not(.in-kosik) #header { position: relative; inset: auto; width: 100%; background: #fff; border-bottom: 1px solid #dce3e9; }
body.template-13.ordering-process:not(.in-kosik) #header .header-top { padding: 0; }
body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 24px; width: calc(100% - 48px); max-width: 1280px;
  min-height: 96px; height: auto; padding: 16px 0; margin: 0 auto;
}
body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper .site-name { grid-column: 2; grid-row: 1; justify-self: center; width: auto; flex: none; margin: 0; }
body.template-13.ordering-process:not(.in-kosik) #header .site-name img { max-width: 170px; max-height: 58px; }
body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper .navigation-buttons { grid-column: 3; grid-row: 1; justify-self: end; display: flex; width: auto; margin: 0; }
body.template-13.ordering-process:not(.in-kosik) #header .es-header-contact { display: flex; min-height: 44px; padding: 6px 0; border: 0; color: #185d8b; }
body.template-13.ordering-process:not(.in-kosik) #header .es-header-contact:hover { color: #123f5e; background: transparent; }
body.template-13.ordering-process #content-wrapper { width: calc(100% - 48px); max-width: 1280px; padding: 0 0 48px; }
body.template-13.ordering-process #content { padding: 0; }
body.template-13.ordering-process #content .cart-inner { padding: 0; }
body.template-13.ordering-process ol.cart-header { max-width: 840px; width: 100%; margin: 32px auto 36px; }
body.template-13.ordering-process ol.cart-header li :is(a,strong) { color: #52616d; font-size: 14px; }
body.template-13.ordering-process ol.cart-header li.active :is(a,strong) { color: #185d8b; }
body.template-13.ordering-process ol.cart-header li :is(a,strong)::before { border-color: #b5c2cc; background: #fff; color: #52616d; }
body.template-13.ordering-process ol.cart-header li.active :is(a,strong)::before { background: #185d8b; border-color: #185d8b; color: #fff; }
body.template-13.ordering-process .cart-row { margin: 0; }
body.template-13.ordering-process .cart-row:has(>#checkoutContent) { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,390px); align-items: start; gap: 32px; }
body.template-13.ordering-process .cart-row:has(>#checkoutContent)::before,
body.template-13.ordering-process .cart-row:has(>#checkoutContent)::after { content: none; }
body.template-13.ordering-process :is(#checkoutContent,#checkoutSidebar) { float: none; width: auto; min-width: 0; max-width: none; margin: 0; padding: 0; }
body.template-13.ordering-process :is(#checkoutContent,#checkoutSidebar)>.cart-content { margin: 0; padding: 0; }
body.template-13.ordering-process #checkoutContent .co-box { min-width: 0; margin: 0 0 24px; padding: 24px; border: 1px solid #dce3e9; border-radius: var(--es-radius); background: #fff; }
body.template-13.ordering-process #checkoutContent :is(h2,.h2) { margin: 0 0 22px; font-size: 21px; line-height: 1.35; font-weight: 600; color: #263c4b; }
body.template-13.ordering-process #checkoutContent .order-icon::before { color: #185d8b; font-size: 25px; }
body.template-13.ordering-process #checkoutContent>.cart-content>.helper { margin: 0 0 24px; padding: 16px 20px; border: 1px solid #d3e2ed; border-radius: var(--es-radius); background: #edf6fb; color: #374f60; font-size: 14px; line-height: 1.6; }
body.template-13.ordering-process #checkoutContent .form-legend { display: none; }
/* Preserve native checked/disabled behavior and input-label associations. */
.radio-wrapper.inactive-child { display: none; }
body.template-13.ordering-process #checkoutContent .shipping-billing-table { padding: 0; }
body.template-13.ordering-process #checkoutContent .shipping-billing-table .radio-wrapper { position: relative; margin: 0 0 12px; padding: 0; border: 1px solid #cbd6df; border-radius: var(--es-radius); background: #fff; }
body.template-13.ordering-process #checkoutContent .shipping-billing-table .radio-wrapper:last-child { margin-bottom: 0; }
body.template-13.ordering-process #checkoutContent .radio-wrapper>label { display: flex; align-items: flex-start; gap: 16px; width: 100%; min-height: 62px; height: auto; margin: 0; padding: 18px 16px 18px 48px; border: 0; border-radius: inherit; background: transparent; color: var(--es-ink); line-height: 1.5; }
body.template-13.ordering-process #checkoutContent .radio-wrapper>label::before { top: 21px; left: 16px; width: 18px; height: 18px; border-color: #788b9a; }
body.template-13.ordering-process #checkoutContent .radio-wrapper>label::after { top: 23px; left: 18px; }
body.template-13.ordering-process #checkoutContent .radio-wrapper:has(>input:checked) { border-color: #2378b0; background: #eaf4fb; box-shadow: inset 0 0 0 1px #2378b0; }
body.template-13.ordering-process #checkoutContent .radio-wrapper>input:checked+label::after { background-color: #185d8b; }
body.template-13.ordering-process #checkoutContent .radio-wrapper:has(>input:not(:disabled)):hover { border-color: #2378b0; background: #f1f8fc; }
body.template-13.ordering-process #checkoutContent .radio-wrapper:has(>input:checked):hover { background: #e4f1fa; }
body.template-13.ordering-process #checkoutContent .radio-wrapper:has(>input:focus-visible) { outline: 2px solid #185d8b; outline-offset: 3px; }
body.template-13.ordering-process #checkoutContent .radio-wrapper:has(>input:disabled) { border-color: #dce3e9; background: #f7f8fa; }
body.template-13.ordering-process #checkoutContent .radio-wrapper>input:disabled+label { color: #626970; cursor: not-allowed; opacity: 1; }
body.template-13.ordering-process #checkoutContent .payment-info { flex: 1 1 auto; min-width: 0; max-width: none; font-size: 14px; }
body.template-13.ordering-process #checkoutContent .shipping-billing-name { font-weight: 600; }
body.template-13.ordering-process #checkoutContent .payment-shipping-price { flex: 0 0 auto; margin: 0 0 0 auto; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: normal; }
body.template-13.ordering-process #checkoutContent .es-checkout-method-note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.55; font-weight: 400; color: #52616d; }
body.template-13.ordering-process #checkoutContent .payment-info:has(.es-checkout-method-note) .question-tooltip { display: none; }
body.template-13.ordering-process #checkoutContent .not-possible-info { margin-top: 6px; font-size: 12px; line-height: 1.5; font-style: normal; }
/* Real white fields, including the native combined phone control. */
body.template-13.ordering-process #checkoutContent .form-group { margin-bottom: 14px; }
body.template-13.ordering-process #checkoutContent .form-control-wrapper { width: 100%; max-width: none; }
body.template-13.ordering-process #checkoutContent .form-control { max-width: 100%; background: #fff; }
body.template-13.ordering-process #checkoutContent .form-control:not([type=checkbox]):not([type=radio]) { width: 100%; }
body.template-13.ordering-process #checkoutContent .phone-combined-input { display: flex; align-items: stretch; width: 100%; max-width: none; gap: 0; }
body.template-13.ordering-process #checkoutContent .phone-combined-input .country-flags { min-width: 90px; height: 64px; align-self: stretch; border: 1px solid #767676; border-right: 0; border-radius: var(--es-radius) 0 0 var(--es-radius); background: #fff; }
body.template-13.ordering-process #checkoutContent .country-flags-inner { display: flex; align-items: center; justify-content: center; height: 100%; }
body.template-13.ordering-process #checkoutContent .phone-combined-input #phone { flex: 1 1 auto; width: 0; min-width: 0; max-width: none; border-radius: 0 var(--es-radius) var(--es-radius) 0; }
/* Native .active turns this same inner wrapper into the country dropdown. */
body.template-13.ordering-process #checkoutContent .country-flags.active .country-flags-inner { display: block; height: 300px; max-height: 50vh; width: min(320px,calc(100vw - 60px)); overflow-x: hidden; }
body.template-13.ordering-process #checkoutContent .form-control.error-field { border-color: #a32d25; }
/* Override native inline sticky positioning; fit is measured for the complete sidebar. */
body.template-13.ordering-process #checkoutSidebar { position: static !important; top: auto !important; }
/* One contact in the simplified header; remove the duplicate summary contact panel. */
body.template-13.ordering-process #checkoutSidebar .checkout-box:has(.contact-box) { display: none; }
body.template-13.ordering-process #checkoutSidebar .order-summary { margin: 0; padding: 0; border: 0; background: transparent; }
body.template-13.ordering-process #checkoutSidebar .order-summary-inner { margin: 0; padding: 24px; border: 1px solid #c9dce9; border-radius: var(--es-radius); background: #edf6fb; }
body.template-13.ordering-process #checkoutSidebar .order-summary-inner>h2 { margin: 0 0 20px; font-size: 20px; line-height: 1.4; color: #263c4b; }
body.template-13.ordering-process #checkoutSidebar .order-summary-item { padding: 16px 0; border-color: #d3e2ed; font-size: 14px; line-height: 1.5; }
body.template-13.ordering-process #checkoutSidebar .order-summary-item:first-of-type { padding-top: 0; }
body.template-13.ordering-process #checkoutSidebar .cart-item-name { min-width: 0; padding-right: 12px; }
body.template-13.ordering-process #checkoutSidebar .cart-item-name a { color: #263c4b; text-decoration: none; }
body.template-13.ordering-process #checkoutSidebar .cart-item-name a:hover { color: #185d8b; text-decoration: underline; }
body.template-13.ordering-process #checkoutSidebar .recapitulation-single { padding: 14px 0; border-color: #d3e2ed; font-size: 14px; line-height: 1.5; }
body.template-13.ordering-process #checkoutSidebar .order-summary-item.price { padding-bottom: 0; }
body.template-13.ordering-process #checkoutSidebar .price-primary.price { font-size: 30px; color: #185d8b; line-height: 1.3; }
body.template-13.ordering-process #checkoutSidebar .price-secondary { font-size: 13px; line-height: 1.5; }
body.template-13.ordering-process .next-step { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 22px 0 0; padding: 0; }
body.template-13.ordering-process .next-step :is(.next-step-forward,.next-step-finish) { order: 0; width: 100%; min-height: 48px; margin: 0; }
/* Disco suffix offsets assumed the native block button, not a flex column. */
body.template-13.ordering-process .next-step .next-step-finish { row-gap: 2px; }
body.template-13.ordering-process .next-step-finish > :is(.order-button-text,.order-button-suffix) { flex: 0 0 auto; margin: 0; padding: 0; line-height: 20px; }

body.template-13.ordering-process .next-step .next-step-back { order: 1; align-self: center; width: auto; margin: 0; padding: 10px 16px; border: 0; background: transparent; color: #52616d; text-decoration: none; }
body.template-13.ordering-process .next-step .next-step-back:hover { color: #185d8b; text-decoration: underline; }
body.template-13.ordering-process .next-step .next-step-forward::after { content: ''; display: inline-block; width: 18px; height: 18px; margin-left: 8px; vertical-align: middle; background: currentColor; -webkit-mask: var(--es-icon-chevron-right) center/contain no-repeat; mask: var(--es-icon-chevron-right) center/contain no-repeat; }
body.template-13.ordering-process .next-step .next-step-back::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: middle; background: currentColor; -webkit-mask: var(--es-icon-chevron-right) center/contain no-repeat; mask: var(--es-icon-chevron-right) center/contain no-repeat; transform: rotate(180deg); }
body.template-13.ordering-process #checkoutSidebar .consents { margin-top: 18px; font-size: 13px; line-height: 1.6; }
body.template-13.ordering-process.in-kosik .cart-table { margin: 0 0 24px; border: 1px solid #dce3e9; border-radius: var(--es-radius); background: #fff; }
body.template-13.ordering-process.in-kosik .cart-table th { background: #fff; color: #52616d; font-weight: 500; }
body.template-13.ordering-process.in-kosik .cart-table :is(th,td) { padding-top: 18px; padding-bottom: 18px; }
body.template-13.ordering-process.in-kosik .cart-table .p-name { padding-left: 16px; }
body.template-13.ordering-process.in-kosik .cart-table .main-link { font-size: 15px; font-weight: 500; }
body.template-13.ordering-process.in-kosik .next-step { max-width: 340px; margin-left: auto; }
body.template-13.ordering-process.in-kosik .price-wrapper { background: transparent; }
@media(min-width:992px) and (min-height:801px) {
  body.template-13.ordering-process #checkoutSidebar { position: sticky !important; top: 20px !important; }
  body.template-13.ordering-process.admin-logged #checkoutSidebar { top: 48px !important; }
  body.template-13.ordering-process #checkoutSidebar.es-checkout-sidebar-tall { position: static !important; top: auto !important; }
}
@media(max-width:991px) {
  body.template-13.ordering-process .cart-row:has(>#checkoutContent) { grid-template-columns: minmax(0,1fr) minmax(280px,34%); gap: 20px; }
  body.template-13.ordering-process #checkoutContent .co-box,
  body.template-13.ordering-process #checkoutSidebar .order-summary-inner { padding: 20px; }
}
@media(max-width:767px) {
  body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper { grid-template-columns: minmax(0,1fr) auto; gap: 12px; width: calc(100% - 24px); min-height: 78px; padding: 12px 0; }
  body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper .site-name { grid-column: 1; justify-self: start; }
  body.template-13.ordering-process:not(.in-kosik) #header .site-name img { max-width: 132px; max-height: 44px; }
  body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper .navigation-buttons { grid-column: 2; }
  body.template-13.ordering-process:not(.in-kosik) #header .header-top-wrapper .navigation-buttons .es-header-contact { flex: 0 0 auto; width: auto; min-width: 0; }
  body.template-13.ordering-process:not(.in-kosik) #header .es-header-contact .es-header-copy { display: flex; }
  body.template-13.ordering-process:not(.in-kosik) #header .es-header-contact .es-icon { width: 20px; height: 20px; }
  body.template-13.ordering-process:not(.in-kosik) #header .es-header-contact .es-header-copy small { font-size: 10px; }
  body.template-13.ordering-process:not(.in-kosik) #header .es-header-contact .es-header-copy strong { font-size: 13px; }
  body.template-13.ordering-process #content-wrapper { width: calc(100% - 24px); padding: 0 0 32px; }
  body.template-13.ordering-process ol.cart-header { margin: 24px auto 28px; }
  body.template-13.ordering-process ol.cart-header li :is(a,strong) { font-size: 12px; line-height: 1.4; }
  body.template-13.ordering-process .cart-row:has(>#checkoutContent) { grid-template-columns: minmax(0,1fr); gap: 4px; }
  body.template-13.ordering-process #checkoutContent .co-box,
  body.template-13.ordering-process #checkoutSidebar .order-summary-inner { padding: 18px; }
  body.template-13.ordering-process #checkoutContent :is(h2,.h2) { font-size: 19px; }
  body.template-13.ordering-process #checkoutContent .radio-wrapper>label { flex-wrap: wrap; gap: 6px 12px; padding: 16px 14px 16px 44px; }
  body.template-13.ordering-process #checkoutContent .radio-wrapper>label::before { top: 19px; left: 14px; }
  body.template-13.ordering-process #checkoutContent .radio-wrapper>label::after { top: 21px; left: 16px; }
  body.template-13.ordering-process #checkoutContent .payment-info { flex-basis: 100%; }
  body.template-13.ordering-process #checkoutContent .payment-shipping-price { margin-left: 0; }
  body.template-13.ordering-process #checkoutSidebar .price-primary.price { font-size: 27px; }
  body.template-13.ordering-process.in-kosik .cart-table .main-link { font-size: 14px; line-height: 1.5; }
  body.template-13.ordering-process.in-kosik .next-step { max-width: none; }
}
@media(max-width:575px) {
  body.template-13.ordering-process.in-kosik .cart-table tr.removeable { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 14px 12px; padding: 16px; }
  body.template-13.ordering-process.in-kosik .cart-table tr.removeable>td { float: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; }
  body.template-13.ordering-process.in-kosik .cart-table tr.removeable>.cart-p-image { grid-column: 1; grid-row: 1; width: 64px; }
  body.template-13.ordering-process.in-kosik .cart-table .cart-p-image img { display: block; width: 64px; height: 76px; object-fit: contain; }
  body.template-13.ordering-process.in-kosik .cart-table tr.removeable>.p-name { grid-column: 2 / -1; grid-row: 1; position: relative; padding-right: 30px; }
  body.template-13.ordering-process.in-kosik .cart-table .p-name .remove-item { top: -8px; right: -8px; width: 40px; height: 40px; font-size: 20px; }
  body.template-13.ordering-process.in-kosik .cart-table tr.removeable>.p-quantity { grid-column: 1 / 3; grid-row: 2; text-align: left; }
  body.template-13.ordering-process.in-kosik .cart-table tr.removeable>.p-total { grid-column: 3; grid-row: 2; text-align: right; color: #185d8b; font-weight: 600; font-size: 16px; }
  body.template-13.ordering-process.in-kosik .cart-table tr.removeable>.p-price { grid-column: 1 / -1; grid-row: 3; margin-top: -8px; text-align: right; color: #626970; font-size: 12px; }
}

/* Empty cart keeps a clear route back to the real catalogue and the single header contact. */
body.template-13.ordering-process .cart-empty { padding-top: 32px !important; }
body.template-13.ordering-process .cart-empty .cart-heading { margin: 0 0 28px; font-size: clamp(24px,3vw,32px); line-height: 1.35; }
body.template-13.ordering-process .cart-empty .cart-row>.col-md-4,
body.template-13.ordering-process .cart-empty .empty-cart-boxes>.col-md-6:has(.js-try-search-button) { display: none; }
body.template-13.ordering-process .cart-empty .cart-row>.col-md-8,
body.template-13.ordering-process .cart-empty .empty-cart-boxes>.col-md-6 { float: none; width: 100%; padding: 0; }
body.template-13.ordering-process .cart-empty .empty-cart-boxes { margin: 0; padding: 24px; border: 1px solid #dce3e9; border-radius: var(--es-radius); background: #fff; }
body.template-13.ordering-process .cart-empty h3 { margin: 0 0 20px; font-size: 21px; }
body.template-13.ordering-process .cart-empty .empty-cart-boxes ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
body.template-13.ordering-process .cart-empty .empty-cart-boxes li a { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; border: 1px solid #cbd6df; border-radius: var(--es-radius); color: #185d8b; font-size: 14px; text-decoration: none; }
body.template-13.ordering-process .cart-empty .empty-cart-boxes li a:hover { border-color: #2378b0; background: #eaf4fb; }
