/* Herbatica - doprava a platba */
body.in-krok-1 #content-wrapper {
  width: calc(100% - 32px);
  max-width: 1460px;
}

body.in-krok-1 #content {
  padding-top: 18px !important;
}

body.in-krok-1 .cart-inner,
body.in-krok-1 .cart-row {
  width: 100%;
}

body.in-krok-1 .cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 380px);
  gap: 24px;
  margin: 0;
}

body.in-krok-1 #checkoutContent,
body.in-krok-1 #checkoutSidebar {
  float: none;
  width: 100%;
  padding: 0;
}

body.in-krok-1 #checkoutContent {
  grid-column: 1;
  grid-row: 1;
}

body.in-krok-1 #checkoutSidebar {
  grid-column: 2;
  grid-row: 1;
}

body.in-krok-1 .cart-content,
body.in-krok-1 .order-delivery-payment-form,
body.in-krok-1 .order-summary {
  font-family: "Open Sans", Arial, sans-serif;
}

body.in-krok-1 .order-delivery-payment-form {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

body.in-krok-1 #checkoutContent > .cart-content {
  overflow: hidden;
  border: 1px solid #e3e9e6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 35, 27, .04);
}

/* Kroky objednávky */
body.in-krok-1 .cart-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 64px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e7ece9;
  background: #fff;
}

body.in-krok-1 .cart-header .step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100% !important;
  padding: 0 12px;
  border: 0;
  color: #7b8480;
  font-size: 13.5px;
  font-weight: 700;
}

body.in-krok-1 .cart-header .step > strong,
body.in-krok-1 .cart-header .step > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 0 !important;
  border: 0 !important;
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

body.in-krok-1 .cart-header .step span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

body.in-krok-1 .cart-header .step span::before {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin-right: 9px;
  border: 1px solid #cbd4d0;
  border-radius: 50%;
  background: #fff;
  color: #69736e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

body.in-krok-1 .cart-header .step-1 span::before { content: "1" !important; }
body.in-krok-1 .cart-header .step-2 span::before { content: "2" !important; }
body.in-krok-1 .cart-header .step-3 span::before { content: "3" !important; }

body.in-krok-1 .cart-header .step.completed {
  color: #4f645d;
}

body.in-krok-1 .cart-header .step.active {
  color: #087858;
}

body.in-krok-1 .cart-header .step.active::after {
  content: "";
  position: absolute;
  right: 22%;
  bottom: -1px;
  left: 22%;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: #2fa679;
}

body.in-krok-1 .cart-header .step.active span::before {
  border-color: #2fa87d;
  background: #eaf7f1;
  color: #087858;
}

body.in-krok-1 .site-msg-custom {
  margin: 18px 20px 4px;
  padding: 12px 14px;
  border: 1px solid #d7e9e1;
  border-radius: 11px;
  background: #f5fbf8;
  color: #53635d;
  font-size: 13px;
  line-height: 1.45;
}

body.in-krok-1 .site-msg-custom p {
  margin: 0;
}

body.in-krok-1 .site-msg-custom strong {
  color: #087858;
}

/* Bloky dopravy a platby */
body.in-krok-1 .order-delivery-payment-form .co-box {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  padding: 26px 20px 2px;
  border: 0;
  background: transparent;
}

body.in-krok-1 .order-delivery-payment-form .co-payment-method {
  padding-top: 34px;
  padding-bottom: 28px;
}

body.in-krok-1 .co-box > h2.order-icon {
  margin: 0 0 16px;
  color: #0a1f3d;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

body.in-krok-1 .co-box > h2.order-icon::before {
  color: #2fa679;
  font-size: 25px;
}

body.in-krok-1 .shipping-billing-table {
  display: grid;
  width: 100% !important;
  max-width: none !important;
  gap: 10px;
  margin: 0;
}

body.in-krok-1 .shipping-billing-table .radio-wrapper {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dde5e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(9, 35, 27, .025);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

body.in-krok-1 .shipping-billing-table .radio-wrapper:hover {
  border-color: #9bcfbb;
  box-shadow: 0 5px 14px rgba(9, 35, 27, .055);
}

body.in-krok-1 .shipping-billing-table .radio-wrapper.active,
body.in-krok-1 .shipping-billing-table .radio-wrapper:has(> input[type="radio"]:checked) {
  border-color: #2fa679;
  background: #effaf5;
  box-shadow: 0 0 0 1px rgba(47, 166, 121, .08), 0 6px 16px rgba(47, 166, 121, .08);
}

body.in-krok-1 .shipping-billing-table .radio-wrapper > input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

body.in-krok-1 .shipping-billing-table .radio-wrapper > label {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px 74px;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  margin: 0;
  padding: 14px 16px 12px 50px;
  cursor: pointer;
}

body.in-krok-1 .shipping-billing-table .radio-wrapper > label::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 2px solid #aebbb5;
  border-radius: 50%;
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

body.in-krok-1 .shipping-billing-table .radio-wrapper.active > label::before,
body.in-krok-1 .shipping-billing-table .radio-wrapper:has(> input[type="radio"]:checked) > label::before {
  border-color: #2fa679;
  background: #2fa679;
  box-shadow: inset 0 0 0 4px #fff;
}

body.in-krok-1 .shipping-billing-table .payment-info {
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
}

body.in-krok-1 .shipping-billing-table .shipping-billing-name {
  display: inline;
  color: #213b34;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
}

body.in-krok-1 .shipping-billing-table .question-tooltip {
  margin-left: 5px;
  color: #7a8b84;
}

body.in-krok-1 .shipping-billing-table .sublabel {
  display: block;
  margin-top: 4px;
  color: #708079;
  font-size: 12px;
  line-height: 1.35;
}

body.in-krok-1 .shipping-billing-table .sublabel a {
  color: #18845f;
  font-weight: 700;
  text-decoration: none;
}

body.in-krok-1 .shipping-billing-table .sublabel a:hover {
  text-decoration: underline;
}

body.in-krok-1 .shipping-billing-table .payment-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

body.in-krok-1 .shipping-billing-table .payment-logo img {
  display: block;
  width: auto;
  max-width: 96px;
  max-height: 34px;
  object-fit: contain;
}

body.in-krok-1 .shipping-billing-table .payment-shipping-price {
  color: #0a1f3d;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

body.in-krok-1 .shipping-billing-table .payment-shipping-price.for-free {
  color: #16855f;
  font-size: 12.5px;
}

body.in-krok-1 .shipping-billing-table .tooltiptext {
  display: block;
  margin: -6px 16px 13px 50px;
  padding-left: 0 !important;
  color: #697871;
  font-size: 12px;
  line-height: 1.45;
  text-align: left !important;
}

body.in-krok-1 .shipping-billing-table .radio-wrapper.disabled,
body.in-krok-1 .shipping-billing-table .radio-wrapper:has(> input:disabled) {
  opacity: .55;
  background: #f5f7f6;
  box-shadow: none;
}

body.in-krok-1 .shipping-billing-table .not-possible-info {
  display: none !important;
  margin-top: 4px;
  color: #9b5d5d;
  font-size: 11.5px;
  font-weight: 400;
}

body.in-krok-1 .shipping-billing-table .radio-wrapper.disabled .not-possible-info,
body.in-krok-1 .shipping-billing-table .radio-wrapper.inactive-child .not-possible-info,
body.in-krok-1 .shipping-billing-table .radio-wrapper:has(> input[type="radio"]:disabled) .not-possible-info {
  display: block !important;
}

/* Shoptet pridáva vlastnú bodku aktívnej voľby. Používame iba náš kruhový prepínač. */
body.in-krok-1 .shipping-billing-table .radio-wrapper::before,
body.in-krok-1 .shipping-billing-table .radio-wrapper::after,
body.in-krok-1 .shipping-billing-table .radio-wrapper > label::after {
  content: none !important;
  display: none !important;
}

/* Pravý súhrn */
body.in-krok-1 #checkoutSidebar {
  align-self: start;
}

body.in-krok-1 #checkoutSidebar > .cart-content {
  display: flex;
  flex-direction: column;
  border: 0;
  background: transparent;
}

body.in-krok-1 .order-summary {
  display: contents;
}

body.in-krok-1 .checkout-box,
body.in-krok-1 .order-summary-inner {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e3e9e6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 35, 27, .04);
}

body.in-krok-1 .checkout-box .toggle-contacts {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #26302c !important;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  box-shadow: none;
}

body.in-krok-1 .checkout-box .toggle-contacts br {
  display: none;
}

body.in-krok-1 .checkout-box .toggle-contacts span {
  display: none;
}

body.in-krok-1 .checkout-box > .box {
  display: block !important;
  height: auto !important;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
  overflow: visible !important;
  visibility: visible !important;
}

body.in-krok-1 .checkout-box .contact-box {
  height: auto !important;
  visibility: visible !important;
}

body.in-krok-1 .checkout-box .contact-box ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

body.in-krok-1 .checkout-box .contact-box li {
  margin: 0;
  color: #68756f;
  font-size: 13px;
}

body.in-krok-1 .checkout-box {
  order: 3;
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 20px;
  box-sizing: border-box;
}

body.in-krok-1 .order-summary-inner {
  order: 1;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: none;
}

body.in-krok-1 .order-summary-inner {
  padding: 20px;
}

body.in-krok-1 .order-summary-inner > h2 {
  margin: 0 0 16px;
  color: #0a1f3d;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

body.in-krok-1 .order-summary-inner .cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 72px;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #edf1ef;
}

body.in-krok-1 .order-summary-inner .cart-item > * {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.in-krok-1 .order-summary-inner .cart-item-name a {
  display: -webkit-box;
  overflow: hidden;
  color: #285c4b;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.in-krok-1 .order-summary-inner .cart-item-amount,
body.in-krok-1 .order-summary-inner .cart-item-price {
  color: #53635d;
  font-size: 12.5px;
  text-align: right;
  white-space: nowrap;
}

body.in-krok-1 .order-summary-inner .cart-item-price {
  color: #0a1f3d;
  font-weight: 700;
}

body.in-krok-1 .order-summary-item.helper,
body.in-krok-1 .order-recapitulation .recapitulation-single {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  color: #53635d;
  font-size: 12px;
  line-height: 1.35;
}

body.in-krok-1 .order-summary-item.helper {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

body.in-krok-1 .order-recapitulation .recapitulation-shipping-billing-label {
  display: block !important;
  color: #77847e;
  font-size: 11.5px;
  line-height: 1.35;
}

body.in-krok-1 .order-recapitulation .recapitulation-shipping-billing-info {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  color: #32473f;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

body.in-krok-1 .order-recapitulation .recapitulation-shipping-billing-info > span {
  color: #16855f;
}

body.in-krok-1 .order-summary-item.price {
  margin: 10px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #d9e6e0;
  background: #fff;
}

body.in-krok-1 .order-summary-item.price .price-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  align-items: baseline;
}

body.in-krok-1 .order-summary-item.price .price-label {
  color: #52625b;
  font-size: 12px;
}

body.in-krok-1 .order-summary-item.price .price-primary {
  color: #0a1f3d;
  font-size: 14px;
  font-weight: 800;
}

body.in-krok-1 .order-summary-item.price strong.price-primary {
  font-size: 30px;
  line-height: 1;
}

body.in-krok-1 .order-summary-item.price .price-secondary {
  color: #7a8781;
  font-size: 11.5px;
}

body.in-krok-1 .next-step {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 0;
  padding: 16px 20px 20px;
  border: 1px solid #e3e9e6;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 35, 27, .04);
}

body.in-krok-1 .next-step .next-step-back {
  order: 2;
  width: 100%;
  min-height: 34px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #68756f;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  text-transform: none;
  box-shadow: none;
}

body.in-krok-1 .next-step .next-step-forward {
  order: 1;
  width: 100%;
  min-height: 54px;
  padding: 13px 20px;
  border: 1px solid #2fa679;
  border-radius: 11px;
  background: #2fa679;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: none;
  box-shadow: 0 7px 18px rgba(47, 166, 121, .2);
}

body.in-krok-1 .next-step .next-step-forward:hover {
  border-color: #23885f;
  background: #23885f;
}

@media (min-width: 992px) {
  body.in-krok-1 #checkoutSidebar {
    position: sticky;
    top: 18px;
  }
}

@media (max-width: 991px) {
  body.in-krok-1 .cart-row {
    grid-template-columns: 1fr;
  }

  body.in-krok-1 #checkoutSidebar {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  body.in-krok-1 #checkoutContent {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 767px) {
  body.in-krok-1 #content-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0 7px;
  }

  body.in-krok-1 #content {
    padding-top: 4px !important;
  }

  body.in-krok-1 .cart-row {
    gap: 12px;
  }

  body.in-krok-1 #checkoutContent > .cart-content,
  body.in-krok-1 .checkout-box,
  body.in-krok-1 .order-summary-inner,
  body.in-krok-1 .next-step {
    border-radius: 13px;
  }

  body.in-krok-1 .cart-header {
    min-height: 48px;
  }

  body.in-krok-1 .cart-header .step {
    padding: 0 4px;
    font-size: 0;
  }

  body.in-krok-1 .cart-header .step > strong,
  body.in-krok-1 .cart-header .step > a {
    padding: 8px 0 !important;
  }

  body.in-krok-1 .cart-header .step span {
    font-size: 0;
  }

  body.in-krok-1 .cart-header .step span::before {
    width: 23px;
    height: 23px;
    margin: 0;
    font-size: 11px;
  }

  body.in-krok-1 .cart-header .step.active span::after {
    content: "Doprava a platba";
    margin-left: 7px;
    color: #087858;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
  }

  body.in-krok-1 .cart-header .step.active::after {
    right: 12%;
    left: 12%;
  }

  body.in-krok-1 .site-msg-custom {
    margin: 12px 10px 2px;
    padding: 10px 11px;
    font-size: 12px;
  }

  body.in-krok-1 .order-delivery-payment-form .co-box {
    padding: 22px 10px 0;
  }

  body.in-krok-1 .order-delivery-payment-form .co-payment-method {
    padding-top: 30px;
    padding-bottom: 18px;
  }

  body.in-krok-1 .co-box > h2.order-icon {
    margin-bottom: 13px;
    font-size: 18px;
  }

  body.in-krok-1 .shipping-billing-table .radio-wrapper > label {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 66px;
    padding: 13px 12px 11px 44px;
  }

  body.in-krok-1 .shipping-billing-table .payment-info {
    width: 100% !important;
    max-width: none !important;
  }

  body.in-krok-1 .shipping-billing-table .radio-wrapper > label::before {
    top: 18px;
    left: 14px;
    width: 17px;
    height: 17px;
  }

  body.in-krok-1 .shipping-billing-table .shipping-billing-name {
    font-size: 13.5px;
  }

  body.in-krok-1 .shipping-billing-table .payment-logo {
    display: none;
  }

  body.in-krok-1 .shipping-billing-table .payment-shipping-price {
    grid-column: 2;
    font-size: 13px;
  }

  body.in-krok-1 .shipping-billing-table .tooltiptext {
    margin: -4px 12px 11px 44px;
    font-size: 11.5px;
  }

  body.in-krok-1 .order-summary-inner {
    padding: 16px;
  }

  body.in-krok-1 .order-summary-item.price {
    margin: 10px 0 0;
    padding: 16px 0 0;
  }

  body.in-krok-1 .next-step {
    padding: 14px 16px 18px;
  }

  body.in-krok-1 .next-step .next-step-forward {
    flex: 1 1 auto;
  }
}
