/*                      platba */
/* PAYMENT - karty platby */
#opc_step_payment .payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#opc_step_payment .module_payment_container {
  margin: 0 !important;
  padding: 0 !important;
}

#opc_step_payment .payment-option {
  display: grid !important;
  grid-template-columns: 30px 80px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 18px !important;

  width: 100% !important;
  min-height: 82px;
  padding: 18px 20px !important;

  border: 1px solid #d9e1e6;
  border-radius: 10px;
  background: #fff;

  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

#opc_step_payment .payment-option:hover {
  border-color: #24b9d7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

/* vybraná platba - triedu doplní JS nižšie */
#opc_step_payment .payment-option.payment-option-selected {
  border-color: #24b9d7 !important;
  background: #f3fcff !important;
  box-shadow: 0 0 0 1px rgba(36, 185, 215, .15);
}

/* radio */
#opc_step_payment .payment_input {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#opc_step_payment .payment_radio {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

/* logo */
#opc_step_payment .payment_image {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

#opc_step_payment .payment_image img {
  width: 72px;
  max-width: 72px;
  height: 52px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid #e1e7eb;
  border-radius: 4px;
  background: #fff;
}

/* text platby */
#opc_step_payment .payment_content {
  grid-column: 3;
  min-width: 0 !important;
}

#opc_step_payment .payment_content span {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}

#opc_step_payment .payment_content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
}

/* poplatok / cena napravo */
#opc_step_payment .payment_fee_badge {
  grid-column: 4;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 98px;
  padding: 8px 13px;

  border: 1px solid #a9d7ff;
  border-radius: 999px;
  background: #f4faff;
  color: #16a8d0;

  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

#opc_step_payment .payment-option-selected .payment_fee_badge {
  border-color: #24b9d7;
  background: #e9faff;
  color: #0698bd;
}

/* additional info nech nie je natlačené */
#opc_step_payment .additional-information {
  margin: 8px 0 0 128px;
  padding: 10px 14px;
  border-left: 3px solid #24b9d7;
  background: #f8fcfd;
  font-size: 13px;
}

/* mobil */
@media (max-width: 767px) {
  #opc_step_payment .payment-option {
    grid-template-columns: 26px 64px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    padding: 14px !important;
    min-height: auto;
  }

  #opc_step_payment .payment_image img {
    width: 60px;
    max-width: 60px;
    height: 46px;
  }

  #opc_step_payment .payment_content span {
    font-size: 14px;
  }

  #opc_step_payment .payment_content p {
    font-size: 13px;
  }

  #opc_step_payment .payment_fee_badge {
    grid-column: 3;
    justify-self: start;
    margin-top: 8px;
    min-width: auto;
    padding: 6px 11px;
    font-size: 13px;
  }

  #opc_step_payment .additional-information {
    margin-left: 0;
  }
}
/*                      /platba */

/*                      cod fee */
#opc_step_payment .payment-option {
  display: grid !important;
  grid-template-columns: 30px 80px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 18px !important;
}

#opc_step_payment .payment_fee_badge {
  grid-column: 4;
  justify-self: end;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 98px;
  padding: 8px 13px;

  border: 1px solid #a9d7ff;
  border-radius: 999px;
  background: #f4faff;
  color: #16a8d0;

  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

#opc_step_payment .payment-option-selected .payment_fee_badge {
  border-color: #24b9d7;
  background: #e9faff;
  color: #0698bd;
}
/*                      /cod fee */
  
/*                      doprava  */
@media (max-width: 767px) {
  #opc_step_shipping .delivery-option .carrier-item-content {
    grid-template-columns: 26px 64px minmax(0, 1fr) !important;
    column-gap: 12px !important;
  }

  #opc_step_shipping .delivery-option .delivery-detail {
    grid-column: 3;
    grid-template-columns: 1fr !important;
    row-gap: 8px !important;
  }

  #opc_step_shipping .delivery-option .carrier-content-bottom {
    justify-self: start !important;
    margin-left: 0 !important;
  }
}

#opc_step_shipping .delivery-option .carrier-item-content {
  display: grid !important;
  grid-template-columns: 30px 80px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 18px !important;
  width: 100% !important;
}

#opc_step_shipping .delivery-option .delivery_radio_content {
  grid-column: 1;
}

#opc_step_shipping .delivery-option .delivery_option_logo {
  grid-column: 2;
}

#opc_step_shipping .delivery-option .delivery-detail {
  grid-column: 3 / 5;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 20px !important;
  width: 100% !important;
  min-width: 0 !important;
}

#opc_step_shipping .delivery-option .carrier-content-top {
  min-width: 0 !important;
}

#opc_step_shipping .delivery-option .carrier-content-bottom {
  justify-self: end !important;
  align-self: center !important;
  margin-left: 15px !important;
}

#opc_step_shipping .delivery-option .delivery_option_price {
  white-space: nowrap !important;
  display: inline-flex !important;
}
/*                      /doprava  */


/*                      nakupujem na firmu*/

/* firemné polia skryté po načítaní */
.opc-company-fields-hidden {
  display: none !important;
}

.opc-company-toggle {
  width: 100%;
  margin: 10px 0 15px 0;
  padding: 14px 16px;
  border: 1px solid #d8eef4;
  border-radius: 6px;
  background: #f5fcfe;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}
.opc-company-toggle input {
  margin-right: 8px;
}

/*                      /nakupujem na firmu*/